#CA70F8#CA70F8

#CA70F8 is a light, highly saturated violet. Relative luminance 0.309; OKLCH L 70.1% C 0.206 H 312.8°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CA70F8
RGBrgb(202, 112, 248)
HSLhsl(280, 91%, 71%)
HSVhsv(280, 55%, 97%)
CMYKcmyk(18.5%, 54.8%, 0%, 2.7%)
CIE-LABlab(62.44, 57.53, -54.02)
CIE-LCHlch(62.44, 78.92, 316.80°)
OKLaboklab(70.05% 0.1402 -0.1512)
OKLCHoklch(70.05% 0.206 312.8)
XYZxyz(47.0916, 30.9234, 92.2768)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA70F8 #9EF870
analogous
#8670F8 #CA70F8 #F870E2
triadic
#CA70F8 #F8CA70 #70F8CA
tetradic
#CA70F8 #F88670 #9EF870 #70E2F8
square
#CA70F8 #F88670 #9EF870 #70E2F8
split-complementary
#CA70F8 #E2F870 #70F886
monochromatic
#9A0BE3 #B436F5 #CA70F8 #E0AAFB #F4E2FE

Accessibility & contrast

On white

2.92
#CA70F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA70F8#FFFFFF#000000##000000
##CA70F81.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A92FC
Deuteranopia (green-blind)
#6999F5
Tritanopia (blue-blind)
#C587AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca70f8;
/* rgb */ color: rgb(202, 112, 248);
/* oklch */ color: oklch(70.1% 0.206 312.8);
Tailwind
colors: {
  custom: {
    50: '#dd9cfb',
    500: '#ca70f8',
    950: '#000000',
  },
}
SCSS
$custom: #ca70f8;
$custom-light: #dd9cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca70f8",
  "rgb": {
    "r": 202,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 279.706,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70053,
    "c": 0.20623,
    "h": 312.8
  },
  "luminance": 0.30922
}

Semantic roles & 50–950 ramp

primary
#CA70F8
secondary
#DCF4CF
accent
#E6004E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #CA70F8

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

Preview Lab → · Contrast checker → · Palette generator →

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