#CB5FFF#CB5FFF

#CB5FFF is a light, highly saturated purple. Relative luminance 0.281; OKLCH L 68.4% C 0.238 H 312.9°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#CB5FFF
RGBrgb(203, 95, 255)
HSLhsl(281, 100%, 69%)
HSVhsv(281, 63%, 100%)
CMYKcmyk(20.4%, 62.7%, 0%, 0%)
CIE-LABlab(59.98, 67.23, -61.80)
CIE-LCHlch(59.98, 91.32, 317.41°)
OKLaboklab(68.41% 0.1618 -0.1739)
OKLCHoklch(68.41% 0.238 312.9)
XYZxyz(46.7677, 28.1022, 97.5490)
Luminance0.2810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FFF #93FF5F
analogous
#7B5FFF #CB5FFF #FF5FE3
triadic
#CB5FFF #FFCB5F #5FFFCB
tetradic
#CB5FFF #FF7B5F #93FF5F #5FE3FF
square
#CB5FFF #FF7B5F #93FF5F #5FE3FF
split-complementary
#CB5FFF #E3FF5F #5FFF7B
monochromatic
#9A00E4 #B722FF #CB5FFF #DF9CFF #F3D9FF

Accessibility & contrast

On white

3.17
#CB5FFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#CB5FFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FFF
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FFF#FFFFFF#000000##000000
##CB5FFF1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#138BFF
Deuteranopia (green-blind)
#5593FB
Tritanopia (blue-blind)
#C67EA7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cb5fff;
/* rgb */ color: rgb(203, 95, 255);
/* oklch */ color: oklch(68.4% 0.238 312.9);
Tailwind
colors: {
  custom: {
    50: '#df92ff',
    500: '#cb5fff',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fff;
$custom-light: #df92ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fff",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 255
  },
  "hsl": {
    "h": 280.5,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68411,
    "c": 0.23752,
    "h": 312.9
  },
  "luminance": 0.28101
}

Semantic roles & 50–950 ramp

primary
#CB5FFF
secondary
#D5F5C5
accent
#E6004B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CB5FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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