#CB7DD2#CB7DD2

#CB7DD2 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.2% C 0.147 H 324.0°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CB7DD2
RGBrgb(203, 125, 210)
HSLhsl(295, 49%, 66%)
HSVhsv(295, 40%, 82%)
CMYKcmyk(3.3%, 40.5%, 0%, 17.6%)
CIE-LABlab(63.36, 43.53, -31.44)
CIE-LCHlch(63.36, 53.70, 324.16°)
OKLaboklab(70.18% 0.1186 -0.0861)
OKLCHoklch(70.18% 0.147 324)
XYZxyz(43.5939, 32.0186, 64.8442)
Luminance0.3202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DD2 #84D27D
analogous
#A07DD2 #CB7DD2 #D27DAE
triadic
#CB7DD2 #D2CB7D #7DD2CB
tetradic
#CB7DD2 #D2A07D #84D27D #7DAED2
square
#CB7DD2 #D2A07D #84D27D #7DAED2
split-complementary
#CB7DD2 #AED27D #7DD2A0
monochromatic
#95379E #B950C2 #CB7DD2 #DDAAE2 #EFD8F1

Accessibility & contrast

On white

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

On black

7.40
#CB7DD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7DD2
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7DD2#FFFFFF#000000##000000
##CB7DD21.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7493D5
Deuteranopia (green-blind)
#899DCF
Tritanopia (blue-blind)
#CE869E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb7dd2;
/* rgb */ color: rgb(203, 125, 210);
/* oklch */ color: oklch(70.2% 0.147 324.0);
Tailwind
colors: {
  custom: {
    50: '#dca4e0',
    500: '#cb7dd2',
    950: '#000000',
  },
}
SCSS
$custom: #cb7dd2;
$custom-light: #dca4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7dd2",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 210
  },
  "hsl": {
    "h": 295.059,
    "s": 48.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70178,
    "c": 0.14651,
    "h": 324
  },
  "luminance": 0.32017
}

Semantic roles & 50–950 ramp

primary
#CB7DD2
secondary
#CAE4C7
accent
#BC2A36
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CB7DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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