#CB70F2#CB70F2

#CB70F2 is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 69.8% C 0.200 H 314.7°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#CB70F2
RGBrgb(203, 112, 242)
HSLhsl(282, 83%, 69%)
HSVhsv(282, 54%, 95%)
CMYKcmyk(16.1%, 53.7%, 0%, 5.1%)
CIE-LABlab(62.25, 56.54, -51.00)
CIE-LCHlch(62.25, 76.15, 317.95°)
OKLaboklab(69.84% 0.141 -0.1424)
OKLCHoklch(69.84% 0.2 314.7)
XYZxyz(46.4472, 30.6970, 87.4656)
Luminance0.3070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB70F2 #97F270
analogous
#8A70F2 #CB70F2 #F270D8
triadic
#CB70F2 #F2CB70 #70F2CB
tetradic
#CB70F2 #F28A70 #97F270 #70D8F2
square
#CB70F2 #F28A70 #97F270 #70D8F2
split-complementary
#CB70F2 #D8F270 #70F28A
monochromatic
#9A13D4 #B738ED #CB70F2 #DFA8F7 #F4E0FC

Accessibility & contrast

On white

2.94
#CB70F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#CB70F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB70F2
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB70F2#FFFFFF#000000##000000
##CB70F21.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5091F6
Deuteranopia (green-blind)
#6E99EF
Tritanopia (blue-blind)
#C885A7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb70f2;
/* rgb */ color: rgb(203, 112, 242);
/* oklch */ color: oklch(69.8% 0.200 314.7);
Tailwind
colors: {
  custom: {
    50: '#dd9cf7',
    500: '#cb70f2',
    950: '#000000',
  },
}
SCSS
$custom: #cb70f2;
$custom-light: #dd9cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb70f2",
  "rgb": {
    "r": 203,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 282,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69837,
    "c": 0.20042,
    "h": 314.7
  },
  "luminance": 0.30696
}

Semantic roles & 50–950 ramp

primary
#CB70F2
secondary
#D7F2CC
accent
#E00647
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #CB70F2

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

Preview Lab → · Contrast checker → · Palette generator →

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