#CB7FDA#CB7FDA

#CB7FDA is a light, vivid purple. Relative luminance 0.329; OKLCH L 70.9% C 0.151 H 320.8°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#CB7FDA
RGBrgb(203, 127, 218)
HSLhsl(290, 55%, 68%)
HSVhsv(290, 42%, 85%)
CMYKcmyk(6.9%, 41.7%, 0%, 14.5%)
CIE-LABlab(64.11, 44.02, -34.75)
CIE-LCHlch(64.11, 56.08, 321.71°)
OKLaboklab(70.85% 0.1173 -0.0955)
OKLCHoklch(70.85% 0.151 320.8)
XYZxyz(44.8713, 32.9388, 70.3102)
Luminance0.3294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FDA #8EDA7F
analogous
#9D7FDA #CB7FDA #DA7FBB
triadic
#CB7FDA #DACB7F #7FDACB
tetradic
#CB7FDA #DA9D7F #8EDA7F #7FBBDA
square
#CB7FDA #DA9D7F #8EDA7F #7FBBDA
split-complementary
#CB7FDA #BBDA7F #7FDA9D
monochromatic
#9832AD #B850CC #CB7FDA #DEAEE8 #F2DEF5

Accessibility & contrast

On white

2.77
#CB7FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#CB7FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FDA
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FDA#FFFFFF#000000##000000
##CB7FDA1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7396DD
Deuteranopia (green-blind)
#879ED7
Tritanopia (blue-blind)
#CD8AA2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb7fda;
/* rgb */ color: rgb(203, 127, 218);
/* oklch */ color: oklch(70.9% 0.151 320.8);
Tailwind
colors: {
  custom: {
    50: '#dca6e5',
    500: '#cb7fda',
    950: '#000000',
  },
}
SCSS
$custom: #cb7fda;
$custom-light: #dca6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7fda",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 290.11,
    "s": 55.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70852,
    "c": 0.15126,
    "h": 320.8
  },
  "luminance": 0.32937
}

Semantic roles & 50–950 ramp

primary
#CB7FDA
secondary
#D1E9CC
accent
#C3233D
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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