#CB70F5#CB70F5

#CB70F5 is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.0% C 0.203 H 313.9°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CB70F5
RGBrgb(203, 112, 245)
HSLhsl(281, 87%, 70%)
HSVhsv(281, 54%, 96%)
CMYKcmyk(17.1%, 54.3%, 0%, 3.9%)
CIE-LABlab(62.41, 57.16, -52.42)
CIE-LCHlch(62.41, 77.55, 317.48°)
OKLaboklab(70% 0.1412 -0.1465)
OKLCHoklch(70% 0.204 313.9)
XYZxyz(46.9015, 30.8787, 89.8580)
Luminance0.3088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB70F5 #9AF570
analogous
#8970F5 #CB70F5 #F570DC
triadic
#CB70F5 #F5CB70 #70F5CB
tetradic
#CB70F5 #F58970 #9AF570 #70DCF5
square
#CB70F5 #F58970 #9AF570 #70DCF5
split-complementary
#CB70F5 #DCF570 #70F589
monochromatic
#9B0FDB #B637F1 #CB70F5 #E0A9F9 #F5E2FD

Accessibility & contrast

On white

2.93
#CB70F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#CB70F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB70F5
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB70F5#FFFFFF#000000##000000
##CB70F51.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D92F9
Deuteranopia (green-blind)
#6C99F2
Tritanopia (blue-blind)
#C786A8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb70f5;
/* rgb */ color: rgb(203, 112, 245);
/* oklch */ color: oklch(70.0% 0.203 313.9);
Tailwind
colors: {
  custom: {
    50: '#de9cf9',
    500: '#cb70f5',
    950: '#000000',
  },
}
SCSS
$custom: #cb70f5;
$custom-light: #de9cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb70f5",
  "rgb": {
    "r": 203,
    "g": 112,
    "b": 245
  },
  "hsl": {
    "h": 281.053,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.7,
    "c": 0.2035,
    "h": 313.9
  },
  "luminance": 0.30877
}

Semantic roles & 50–950 ramp

primary
#CB70F5
secondary
#DAF3CE
accent
#E30249
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #CB70F5

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

Preview Lab → · Contrast checker → · Palette generator →

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