#CB70FE#CB70FE

#CB70FE is a light, highly saturated violet. Relative luminance 0.314; OKLCH L 70.5% C 0.213 H 311.7°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#CB70FE
RGBrgb(203, 112, 254)
HSLhsl(278, 99%, 72%)
HSVhsv(278, 56%, 100%)
CMYKcmyk(20.1%, 55.9%, 0%, 0.4%)
CIE-LABlab(62.88, 59.03, -56.62)
CIE-LCHlch(62.88, 81.80, 316.19°)
OKLaboklab(70.5% 0.1417 -0.1588)
OKLCHoklch(70.5% 0.213 311.7)
XYZxyz(48.3090, 31.4417, 97.2707)
Luminance0.3144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB70FE #A3FE70
analogous
#8470FE #CB70FE #FE70EA
triadic
#CB70FE #FECB70 #70FECB
tetradic
#CB70FE #FE8470 #A3FE70 #70EAFE
square
#CB70FE #FE8470 #A3FE70 #70EAFE
split-complementary
#CB70FE #EAFE70 #70FE84
monochromatic
#9C02F2 #B533FE #CB70FE #E1ADFE #F4E1FF

Accessibility & contrast

On white

2.88
#CB70FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#CB70FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB70FE
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB70FE#FFFFFF#000000##000000
##CB70FE1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4494FF
Deuteranopia (green-blind)
#669AFA
Tritanopia (blue-blind)
#C589AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb70fe;
/* rgb */ color: rgb(203, 112, 254);
/* oklch */ color: oklch(70.5% 0.213 311.7);
Tailwind
colors: {
  custom: {
    50: '#de9dff',
    500: '#cb70fe',
    950: '#000000',
  },
}
SCSS
$custom: #cb70fe;
$custom-light: #de9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb70fe",
  "rgb": {
    "r": 203,
    "g": 112,
    "b": 254
  },
  "hsl": {
    "h": 278.451,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70501,
    "c": 0.21282,
    "h": 311.7
  },
  "luminance": 0.31441
}

Semantic roles & 50–950 ramp

primary
#CB70FE
secondary
#E0F7D3
accent
#E60052
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #CB70FE

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

Preview Lab → · Contrast checker → · Palette generator →

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