#CB7EC3#CB7EC3

#CB7EC3 is a light, vivid purple. Relative luminance 0.316; OKLCH L 69.7% C 0.130 H 330.6°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CB7EC3
RGBrgb(203, 126, 195)
HSLhsl(306, 43%, 65%)
HSVhsv(306, 38%, 80%)
CMYKcmyk(0%, 37.9%, 3.9%, 20.4%)
CIE-LABlab(62.98, 40.23, -23.60)
CIE-LCHlch(62.98, 46.64, 329.61°)
OKLaboklab(69.7% 0.1136 -0.0639)
OKLCHoklch(69.7% 0.13 330.6)
XYZxyz(41.9392, 31.5603, 55.5018)
Luminance0.3156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EC3 #7ECB86
analogous
#AD7ECB #CB7EC3 #CB7E9D
triadic
#CB7EC3 #C3CB7E #7EC3CB
tetradic
#CB7EC3 #CBAD7E #7ECB86 #7E9DCB
square
#CB7EC3 #CBAD7E #7ECB86 #7E9DCB
split-complementary
#CB7EC3 #9DCB7E #7ECBAD
monochromatic
#933B8A #B952AF #CB7EC3 #DDAAD7 #EED5EC

Accessibility & contrast

On white

2.87
#CB7EC3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#CB7EC3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EC3
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EC3#FFFFFF#000000##000000
##CB7EC31.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B92C6
Deuteranopia (green-blind)
#8F9CC1
Tritanopia (blue-blind)
#D18398
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb7ec3;
/* rgb */ color: rgb(203, 126, 195);
/* oklch */ color: oklch(69.7% 0.130 330.6);
Tailwind
colors: {
  custom: {
    50: '#dca5d5',
    500: '#cb7ec3',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ec3;
$custom-light: #dca5d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ec3",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 195
  },
  "hsl": {
    "h": 306.234,
    "s": 42.541,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69698,
    "c": 0.1303,
    "h": 330.6
  },
  "luminance": 0.31558
}

Semantic roles & 50–950 ramp

primary
#CB7EC3
secondary
#C5E0C8
accent
#B63E30
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CB7EC3

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CB7EC3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva