#CB70FA#CB70FA

#CB70FA is a light, highly saturated violet. Relative luminance 0.312; OKLCH L 70.3% C 0.209 H 312.7°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#CB70FA
RGBrgb(203, 112, 250)
HSLhsl(280, 93%, 71%)
HSVhsv(280, 55%, 98%)
CMYKcmyk(18.8%, 55.2%, 0%, 2%)
CIE-LABlab(62.67, 58.19, -54.76)
CIE-LCHlch(62.67, 79.91, 316.74°)
OKLaboklab(70.28% 0.1415 -0.1534)
OKLCHoklch(70.28% 0.209 312.7)
XYZxyz(47.6751, 31.1882, 93.9324)
Luminance0.3119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB70FA #9FFA70
analogous
#8670FA #CB70FA #FA70E4
triadic
#CB70FA #FACB70 #70FACB
tetradic
#CB70FA #FA8670 #9FFA70 #70E4FA
square
#CB70FA #FA8670 #9FFA70 #70E4FA
split-complementary
#CB70FA #E4FA70 #70FA86
monochromatic
#9B08E8 #B535F8 #CB70FA #E1ABFC #F4E1FE

Accessibility & contrast

On white

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

On black

7.24
#CB70FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB70FA
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB70FA#FFFFFF#000000##000000
##CB70FA1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FF
Deuteranopia (green-blind)
#699AF7
Tritanopia (blue-blind)
#C688AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb70fa;
/* rgb */ color: rgb(203, 112, 250);
/* oklch */ color: oklch(70.3% 0.209 312.7);
Tailwind
colors: {
  custom: {
    50: '#de9dfc',
    500: '#cb70fa',
    950: '#000000',
  },
}
SCSS
$custom: #cb70fa;
$custom-light: #de9dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb70fa",
  "rgb": {
    "r": 203,
    "g": 112,
    "b": 250
  },
  "hsl": {
    "h": 279.565,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70276,
    "c": 0.20867,
    "h": 312.7
  },
  "luminance": 0.31187
}

Semantic roles & 50–950 ramp

primary
#CB70FA
secondary
#DDF5D1
accent
#E6004E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #CB70FA

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

Preview Lab → · Contrast checker → · Palette generator →

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