#CB7FDC#CB7FDC

#CB7FDC is a light, vivid purple. Relative luminance 0.330; OKLCH L 70.9% C 0.153 H 320.1°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#CB7FDC
RGBrgb(203, 127, 220)
HSLhsl(289, 57%, 68%)
HSVhsv(289, 42%, 86%)
CMYKcmyk(7.7%, 42.3%, 0%, 13.7%)
CIE-LABlab(64.20, 44.41, -35.73)
CIE-LCHlch(64.20, 57.00, 321.18°)
OKLaboklab(70.94% 0.1177 -0.0983)
OKLCHoklch(70.94% 0.153 320.1)
XYZxyz(45.1346, 33.0441, 71.6969)
Luminance0.3304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FDC #90DC7F
analogous
#9C7FDC #CB7FDC #DC7FBE
triadic
#CB7FDC #DCCB7F #7FDCCB
tetradic
#CB7FDC #DC9C7F #90DC7F #7FBEDC
square
#CB7FDC #DC9C7F #90DC7F #7FBEDC
split-complementary
#CB7FDC #BEDC7F #7FDC9C
monochromatic
#9930B0 #B74FCF #CB7FDC #DFAFE9 #F2DFF6

Accessibility & contrast

On white

2.76
#CB7FDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#CB7FDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FDC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FDC#FFFFFF#000000##000000
##CB7FDC1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DF
Deuteranopia (green-blind)
#869ED9
Tritanopia (blue-blind)
#CC8BA3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb7fdc;
/* rgb */ color: rgb(203, 127, 220);
/* oklch */ color: oklch(70.9% 0.153 320.1);
Tailwind
colors: {
  custom: {
    50: '#dca6e7',
    500: '#cb7fdc',
    950: '#000000',
  },
}
SCSS
$custom: #cb7fdc;
$custom-light: #dca6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7fdc",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 220
  },
  "hsl": {
    "h": 289.032,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70944,
    "c": 0.15334,
    "h": 320.1
  },
  "luminance": 0.33043
}

Semantic roles & 50–950 ramp

primary
#CB7FDC
secondary
#D2EACD
accent
#C5213F
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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