#CB7DD4#CB7DD4

#CB7DD4 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.3% C 0.149 H 323.2°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#CB7DD4
RGBrgb(203, 125, 212)
HSLhsl(294, 50%, 66%)
HSVhsv(294, 41%, 83%)
CMYKcmyk(4.2%, 41%, 0%, 16.9%)
CIE-LABlab(63.44, 43.92, -32.43)
CIE-LCHlch(63.44, 54.59, 323.55°)
OKLaboklab(70.27% 0.119 -0.0889)
OKLCHoklch(70.27% 0.149 323.2)
XYZxyz(43.8446, 32.1189, 66.1646)
Luminance0.3212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DD4 #86D47D
analogous
#9F7DD4 #CB7DD4 #D47DB1
triadic
#CB7DD4 #D4CB7D #7DD4CB
tetradic
#CB7DD4 #D49F7D #86D47D #7DB1D4
square
#CB7DD4 #D49F7D #86D47D #7DB1D4
split-complementary
#CB7DD4 #B1D47D #7DD49F
monochromatic
#9635A1 #B94FC5 #CB7DD4 #DDABE3 #F0D9F2

Accessibility & contrast

On white

2.83
#CB7DD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#CB7DD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7DD4
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7DD4#FFFFFF#000000##000000
##CB7DD41.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7394D7
Deuteranopia (green-blind)
#889DD1
Tritanopia (blue-blind)
#CE879F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb7dd4;
/* rgb */ color: rgb(203, 125, 212);
/* oklch */ color: oklch(70.3% 0.149 323.2);
Tailwind
colors: {
  custom: {
    50: '#dca4e1',
    500: '#cb7dd4',
    950: '#000000',
  },
}
SCSS
$custom: #cb7dd4;
$custom-light: #dca4e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7dd4",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 212
  },
  "hsl": {
    "h": 293.793,
    "s": 50.289,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70267,
    "c": 0.14852,
    "h": 323.2
  },
  "luminance": 0.32117
}

Semantic roles & 50–950 ramp

primary
#CB7DD4
secondary
#CBE5C8
accent
#BE2837
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CB7DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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