#CB70F8#CB70F8

#CB70F8 is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 70.2% C 0.207 H 313.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#CB70F8
RGBrgb(203, 112, 248)
HSLhsl(280, 91%, 71%)
HSVhsv(280, 55%, 97%)
CMYKcmyk(18.1%, 54.8%, 0%, 2.7%)
CIE-LABlab(62.56, 57.78, -53.83)
CIE-LCHlch(62.56, 78.96, 317.03°)
OKLaboklab(70.17% 0.1414 -0.1506)
OKLCHoklch(70.17% 0.207 313.2)
XYZxyz(47.3632, 31.0634, 92.2896)
Luminance0.3106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB70F8 #9DF870
analogous
#8770F8 #CB70F8 #F870E1
triadic
#CB70F8 #F8CB70 #70F8CB
tetradic
#CB70F8 #F88770 #9DF870 #70E1F8
square
#CB70F8 #F88770 #9DF870 #70E1F8
split-complementary
#CB70F8 #E1F870 #70F887
monochromatic
#9B0BE3 #B636F5 #CB70F8 #E0AAFB #F4E2FE

Accessibility & contrast

On white

2.91
#CB70F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#CB70F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB70F8
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB70F8#FFFFFF#000000##000000
##CB70F81.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A92FC
Deuteranopia (green-blind)
#6A99F5
Tritanopia (blue-blind)
#C787AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb70f8;
/* rgb */ color: rgb(203, 112, 248);
/* oklch */ color: oklch(70.2% 0.207 313.2);
Tailwind
colors: {
  custom: {
    50: '#de9cfb',
    500: '#cb70f8',
    950: '#000000',
  },
}
SCSS
$custom: #cb70f8;
$custom-light: #de9cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb70f8",
  "rgb": {
    "r": 203,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 280.147,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70165,
    "c": 0.2066,
    "h": 313.2
  },
  "luminance": 0.31062
}

Semantic roles & 50–950 ramp

primary
#CB70F8
secondary
#DCF4CF
accent
#E6004C
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #CB70F8

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

Preview Lab → · Contrast checker → · Palette generator →

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