#CB7FDF#CB7FDF

#CB7FDF is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.1% C 0.156 H 319.1°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#CB7FDF
RGBrgb(203, 127, 223)
HSLhsl(288, 60%, 69%)
HSVhsv(288, 43%, 87%)
CMYKcmyk(9%, 43%, 0%, 12.5%)
CIE-LABlab(64.33, 45.00, -37.20)
CIE-LCHlch(64.33, 58.39, 320.43°)
OKLaboklab(71.08% 0.1182 -0.1025)
OKLCHoklch(71.08% 0.156 319.1)
XYZxyz(45.5355, 33.2045, 73.8082)
Luminance0.3320 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FDF #93DF7F
analogous
#9B7FDF #CB7FDF #DF7FC3
triadic
#CB7FDF #DFCB7F #7FDFCB
tetradic
#CB7FDF #DF9B7F #93DF7F #7FC3DF
square
#CB7FDF #DF9B7F #93DF7F #7FC3DF
split-complementary
#CB7FDF #C3DF7F #7FDF9B
monochromatic
#9A2EB6 #B74ED3 #CB7FDF #DFB0EB #F3E1F7

Accessibility & contrast

On white

2.75
#CB7FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#CB7FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FDF
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FDF#FFFFFF#000000##000000
##CB7FDF1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7097E2
Deuteranopia (green-blind)
#859FDC
Tritanopia (blue-blind)
#CC8BA5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb7fdf;
/* rgb */ color: rgb(203, 127, 223);
/* oklch */ color: oklch(71.1% 0.156 319.1);
Tailwind
colors: {
  custom: {
    50: '#dca6e9',
    500: '#cb7fdf',
    950: '#000000',
  },
}
SCSS
$custom: #cb7fdf;
$custom-light: #dca6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7fdf",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 287.5,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71084,
    "c": 0.15649,
    "h": 319.1
  },
  "luminance": 0.33203
}

Semantic roles & 50–950 ramp

primary
#CB7FDF
secondary
#D5EBCF
accent
#C81E41
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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