#CB5FF2#CB5FF2

#CB5FF2 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.6% C 0.225 H 316.0°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#CB5FF2
RGBrgb(203, 95, 242)
HSLhsl(284, 85%, 66%)
HSVhsv(284, 61%, 95%)
CMYKcmyk(16.1%, 60.7%, 0%, 5.1%)
CIE-LABlab(59.24, 64.63, -55.78)
CIE-LCHlch(59.24, 85.37, 319.20°)
OKLaboklab(67.64% 0.162 -0.1563)
OKLCHoklch(67.64% 0.225 316)
XYZxyz(44.7454, 27.2933, 86.8983)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FF2 #86F25F
analogous
#815FF2 #CB5FF2 #F25FCF
triadic
#CB5FF2 #F2CB5F #5FF2CB
tetradic
#CB5FF2 #F2815F #86F25F #5FCFF2
square
#CB5FF2 #F2815F #86F25F #5FCFF2
split-complementary
#CB5FF2 #CFF25F #5FF281
monochromatic
#9610C6 #B926ED #CB5FF2 #DD98F7 #F0D0FB

Accessibility & contrast

On white

3.25
#CB5FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#CB5FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FF2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FF2#FFFFFF#000000##000000
##CB5FF21.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3088F7
Deuteranopia (green-blind)
#5F92EE
Tritanopia (blue-blind)
#C979A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cb5ff2;
/* rgb */ color: rgb(203, 95, 242);
/* oklch */ color: oklch(67.6% 0.225 316.0);
Tailwind
colors: {
  custom: {
    50: '#de92f7',
    500: '#cb5ff2',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ff2;
$custom-light: #de92f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ff2",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 284.082,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67641,
    "c": 0.22507,
    "h": 316
  },
  "luminance": 0.27292
}

Semantic roles & 50–950 ramp

primary
#CB5FF2
secondary
#CBEFBE
accent
#E1043F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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