#CB7BDC#CB7BDC

#CB7BDC is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.3% C 0.160 H 320.4°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CB7BDC
RGBrgb(203, 123, 220)
HSLhsl(289, 58%, 67%)
HSVhsv(289, 44%, 86%)
CMYKcmyk(7.7%, 44.1%, 0%, 13.7%)
CIE-LABlab(63.37, 46.51, -37.02)
CIE-LCHlch(63.37, 59.45, 321.49°)
OKLaboklab(70.33% 0.1234 -0.102)
OKLCHoklch(70.33% 0.16 320.4)
XYZxyz(44.6283, 32.0314, 71.5281)
Luminance0.3203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BDC #8CDC7B
analogous
#9B7BDC #CB7BDC #DC7BBC
triadic
#CB7BDC #DCCB7B #7BDCCB
tetradic
#CB7BDC #DC9B7B #8CDC7B #7BBCDC
square
#CB7BDC #DC9B7B #8CDC7B #7BBCDC
split-complementary
#CB7BDC #BCDC7B #7BDC9B
monochromatic
#982EAE #B84BCF #CB7BDC #DEABE9 #F1DCF6

Accessibility & contrast

On white

2.84
#CB7BDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#CB7BDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BDC
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BDC#FFFFFF#000000##000000
##CB7BDC1.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D94DF
Deuteranopia (green-blind)
#839CD9
Tritanopia (blue-blind)
#CC87A1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb7bdc;
/* rgb */ color: rgb(203, 123, 220);
/* oklch */ color: oklch(70.3% 0.160 320.4);
Tailwind
colors: {
  custom: {
    50: '#dca3e7',
    500: '#cb7bdc',
    950: '#000000',
  },
}
SCSS
$custom: #cb7bdc;
$custom-light: #dca3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7bdc",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 220
  },
  "hsl": {
    "h": 289.485,
    "s": 58.084,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70325,
    "c": 0.16008,
    "h": 320.4
  },
  "luminance": 0.3203
}

Semantic roles & 50–950 ramp

primary
#CB7BDC
secondary
#CFE9CA
accent
#C6203D
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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