#CB7EC4#CB7EC4

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

Color values

HEX#CB7EC4
RGBrgb(203, 126, 196)
HSLhsl(305, 43%, 65%)
HSVhsv(305, 38%, 80%)
CMYKcmyk(0%, 37.9%, 3.4%, 20.4%)
CIE-LABlab(63.02, 40.41, -24.10)
CIE-LCHlch(63.02, 47.05, 329.19°)
OKLaboklab(69.74% 0.1138 -0.0653)
OKLCHoklch(69.74% 0.131 330.2)
XYZxyz(42.0527, 31.6057, 56.0993)
Luminance0.3160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EC4 #7ECB85
analogous
#AC7ECB #CB7EC4 #CB7E9E
triadic
#CB7EC4 #C4CB7E #7EC4CB
tetradic
#CB7EC4 #CBAC7E #7ECB85 #7E9ECB
square
#CB7EC4 #CBAC7E #7ECB85 #7E9ECB
split-complementary
#CB7EC4 #9ECB7E #7ECBAC
monochromatic
#933B8B #B952B0 #CB7EC4 #DDAAD8 #EED5EC

Accessibility & contrast

On white

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

On black

7.32
#CB7EC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EC4
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EC4#FFFFFF#000000##000000
##CB7EC41.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B92C7
Deuteranopia (green-blind)
#8F9CC2
Tritanopia (blue-blind)
#D18498
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb7ec4;
/* rgb */ color: rgb(203, 126, 196);
/* oklch */ color: oklch(69.7% 0.131 330.2);
Tailwind
colors: {
  custom: {
    50: '#dca5d6',
    500: '#cb7ec4',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ec4;
$custom-light: #dca5d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ec4",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 196
  },
  "hsl": {
    "h": 305.455,
    "s": 42.541,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69739,
    "c": 0.13123,
    "h": 330.2
  },
  "luminance": 0.31604
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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