#CB5FD7#CB5FD7

#CB5FD7 is a light, vivid purple. Relative luminance 0.258; OKLCH L 66.2% C 0.200 H 323.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#CB5FD7
RGBrgb(203, 95, 215)
HSLhsl(294, 60%, 61%)
HSVhsv(294, 56%, 84%)
CMYKcmyk(5.6%, 55.8%, 0%, 15.7%)
CIE-LABlab(57.84, 59.49, -42.89)
CIE-LCHlch(57.84, 73.33, 324.21°)
OKLaboklab(66.16% 0.1607 -0.1187)
OKLCHoklch(66.16% 0.2 323.5)
XYZxyz(40.9854, 25.7893, 67.0958)
Luminance0.2579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FD7 #6BD75F
analogous
#8F5FD7 #CB5FD7 #D75FA7
triadic
#CB5FD7 #D7CB5F #5FD7CB
tetradic
#CB5FD7 #D78F5F #6BD75F #5FA7D7
square
#CB5FD7 #D78F5F #6BD75F #5FA7D7
split-complementary
#CB5FD7 #A7D75F #5FD78F
monochromatic
#8B2696 #B832C7 #CB5FD7 #DB90E3 #EBC1EF

Accessibility & contrast

On white

3.41
#CB5FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#CB5FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FD7
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FD7#FFFFFF#000000##000000
##CB5FD71.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C83DB
Deuteranopia (green-blind)
#708FD4
Tritanopia (blue-blind)
#CE6F92
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb5fd7;
/* rgb */ color: rgb(203, 95, 215);
/* oklch */ color: oklch(66.2% 0.200 323.5);
Tailwind
colors: {
  custom: {
    50: '#dd92e4',
    500: '#cb5fd7',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fd7;
$custom-light: #dd92e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fd7",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 294,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66159,
    "c": 0.19984,
    "h": 323.5
  },
  "luminance": 0.25787
}

Semantic roles & 50–950 ramp

primary
#CB5FD7
secondary
#B7E0B2
accent
#C81E2F
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D15
muted
#837E84

Preview Lab

Preview with #CB5FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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