#CB7FD2#CB7FD2

#CB7FD2 is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.5% C 0.143 H 323.9°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CB7FD2
RGBrgb(203, 127, 210)
HSLhsl(295, 48%, 66%)
HSVhsv(295, 40%, 82%)
CMYKcmyk(3.3%, 39.5%, 0%, 17.6%)
CIE-LABlab(63.78, 42.48, -30.79)
CIE-LCHlch(63.78, 52.46, 324.06°)
OKLaboklab(70.49% 0.1156 -0.0842)
OKLCHoklch(70.49% 0.143 323.9)
XYZxyz(43.8497, 32.5301, 64.9294)
Luminance0.3253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FD2 #86D27F
analogous
#A17FD2 #CB7FD2 #D27FAF
triadic
#CB7FD2 #D2CB7F #7FD2CB
tetradic
#CB7FD2 #D2A17F #86D27F #7FAFD2
square
#CB7FD2 #D2A17F #86D27F #7FAFD2
split-complementary
#CB7FD2 #AFD27F #7FD2A1
monochromatic
#96389F #B952C2 #CB7FD2 #DDACE2 #F0DAF2

Accessibility & contrast

On white

2.80
#CB7FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#CB7FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FD2
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FD2#FFFFFF#000000##000000
##CB7FD21.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7695D5
Deuteranopia (green-blind)
#8A9ECF
Tritanopia (blue-blind)
#CE889F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb7fd2;
/* rgb */ color: rgb(203, 127, 210);
/* oklch */ color: oklch(70.5% 0.143 323.9);
Tailwind
colors: {
  custom: {
    50: '#dca6e0',
    500: '#cb7fd2',
    950: '#000000',
  },
}
SCSS
$custom: #cb7fd2;
$custom-light: #dca6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7fd2",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 294.94,
    "s": 47.977,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70494,
    "c": 0.14305,
    "h": 323.9
  },
  "luminance": 0.32528
}

Semantic roles & 50–950 ramp

primary
#CB7FD2
secondary
#CBE4C9
accent
#BB2A36
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CB7FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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