#CB70FB#CB70FB

#CB70FB is a light, highly saturated violet. Relative luminance 0.313; OKLCH L 70.3% C 0.210 H 312.5°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#CB70FB
RGBrgb(203, 112, 251)
HSLhsl(279, 95%, 71%)
HSVhsv(279, 55%, 98%)
CMYKcmyk(19.1%, 55.4%, 0%, 1.6%)
CIE-LABlab(62.72, 58.40, -55.23)
CIE-LCHlch(62.72, 80.38, 316.60°)
OKLaboklab(70.33% 0.1416 -0.1547)
OKLCHoklch(70.33% 0.21 312.5)
XYZxyz(47.8323, 31.2511, 94.7604)
Luminance0.3125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB70FB #A0FB70
analogous
#8570FB #CB70FB #FB70E5
triadic
#CB70FB #FBCB70 #70FBCB
tetradic
#CB70FB #FB8570 #A0FB70 #70E5FB
square
#CB70FB #FB8570 #A0FB70 #70E5FB
split-complementary
#CB70FB #E5FB70 #70FB85
monochromatic
#9B07EA #B534F9 #CB70FB #E1ACFD #F4E1FE

Accessibility & contrast

On white

2.90
#CB70FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#CB70FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB70FB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB70FB#FFFFFF#000000##000000
##CB70FB1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#689AF8
Tritanopia (blue-blind)
#C688AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb70fb;
/* rgb */ color: rgb(203, 112, 251);
/* oklch */ color: oklch(70.3% 0.210 312.5);
Tailwind
colors: {
  custom: {
    50: '#de9dfd',
    500: '#cb70fb',
    950: '#000000',
  },
}
SCSS
$custom: #cb70fb;
$custom-light: #de9dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb70fb",
  "rgb": {
    "r": 203,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 279.281,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70332,
    "c": 0.20971,
    "h": 312.5
  },
  "luminance": 0.3125
}

Semantic roles & 50–950 ramp

primary
#CB70FB
secondary
#DEF6D1
accent
#E6004F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #CB70FB

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

Preview Lab → · Contrast checker → · Palette generator →

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