#CB5CF2#CB5CF2

#CB5CF2 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.3% C 0.229 H 316.2°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#CB5CF2
RGBrgb(203, 92, 242)
HSLhsl(284, 85%, 65%)
HSVhsv(284, 62%, 95%)
CMYKcmyk(16.1%, 62%, 0%, 5.1%)
CIE-LABlab(58.75, 65.97, -56.57)
CIE-LCHlch(58.75, 86.90, 319.39°)
OKLaboklab(67.29% 0.1655 -0.1585)
OKLCHoklch(67.29% 0.229 316.2)
XYZxyz(44.4803, 26.7632, 86.8100)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5CF2 #83F25C
analogous
#805CF2 #CB5CF2 #F25CCE
triadic
#CB5CF2 #F2CB5C #5CF2CB
tetradic
#CB5CF2 #F2805C #83F25C #5CCEF2
square
#CB5CF2 #F2805C #83F25C #5CCEF2
split-complementary
#CB5CF2 #CEF25C #5CF280
monochromatic
#9510C4 #B923ED #CB5CF2 #DD95F7 #EFCDFB

Accessibility & contrast

On white

3.31
#CB5CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#CB5CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5CF2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5CF2#FFFFFF#000000##000000
##CB5CF21.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2887F7
Deuteranopia (green-blind)
#5D91EE
Tritanopia (blue-blind)
#C9779F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb5cf2;
/* rgb */ color: rgb(203, 92, 242);
/* oklch */ color: oklch(67.3% 0.229 316.2);
Tailwind
colors: {
  custom: {
    50: '#de90f7',
    500: '#cb5cf2',
    950: '#000000',
  },
}
SCSS
$custom: #cb5cf2;
$custom-light: #de90f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5cf2",
  "rgb": {
    "r": 203,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 284.4,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67286,
    "c": 0.22916,
    "h": 316.2
  },
  "luminance": 0.26762
}

Semantic roles & 50–950 ramp

primary
#CB5CF2
secondary
#C9EEBC
accent
#E2043D
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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