#CB5FF5#CB5FF5

#CB5FF5 is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 67.8% C 0.228 H 315.3°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#CB5FF5
RGBrgb(203, 95, 245)
HSLhsl(283, 88%, 67%)
HSVhsv(283, 61%, 96%)
CMYKcmyk(17.1%, 61.2%, 0%, 3.9%)
CIE-LABlab(59.41, 65.22, -57.18)
CIE-LCHlch(59.41, 86.74, 318.76°)
OKLaboklab(67.82% 0.162 -0.1603)
OKLCHoklch(67.82% 0.228 315.3)
XYZxyz(45.1996, 27.4750, 89.2907)
Luminance0.2747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FF5 #89F55F
analogous
#805FF5 #CB5FF5 #F55FD4
triadic
#CB5FF5 #F5CB5F #5FF5CB
tetradic
#CB5FF5 #F5805F #89F55F #5FD4F5
square
#CB5FF5 #F5805F #89F55F #5FD4F5
split-complementary
#CB5FF5 #D4F55F #5FF580
monochromatic
#970DCD #B825F1 #CB5FF5 #DE99F9 #F0D2FC

Accessibility & contrast

On white

3.23
#CB5FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#CB5FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FF5
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FF5#FFFFFF#000000##000000
##CB5FF51.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B89FA
Deuteranopia (green-blind)
#5D92F1
Tritanopia (blue-blind)
#C87AA2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cb5ff5;
/* rgb */ color: rgb(203, 95, 245);
/* oklch */ color: oklch(67.8% 0.228 315.3);
Tailwind
colors: {
  custom: {
    50: '#de92f9',
    500: '#cb5ff5',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ff5;
$custom-light: #de92f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ff5",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 245
  },
  "hsl": {
    "h": 283.2,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67816,
    "c": 0.22794,
    "h": 315.3
  },
  "luminance": 0.27474
}

Semantic roles & 50–950 ramp

primary
#CB5FF5
secondary
#CDF0C0
accent
#E50141
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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