#CA70FC#CA70FC

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

Color values

HEX#CA70FC
RGBrgb(202, 112, 252)
HSLhsl(279, 96%, 71%)
HSVhsv(279, 56%, 99%)
CMYKcmyk(19.8%, 55.6%, 0%, 1.2%)
CIE-LABlab(62.65, 58.37, -55.89)
CIE-LCHlch(62.65, 80.81, 316.24°)
OKLaboklab(70.28% 0.1404 -0.1567)
OKLCHoklch(70.28% 0.21 311.9)
XYZxyz(47.7188, 31.1743, 95.5801)
Luminance0.3117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA70FC #A2FC70
analogous
#8470FC #CA70FC #FC70E8
triadic
#CA70FC #FCCA70 #70FCCA
tetradic
#CA70FC #FC8470 #A2FC70 #70E8FC
square
#CA70FC #FC8470 #A2FC70 #70E8FC
split-complementary
#CA70FC #E8FC70 #70FC84
monochromatic
#9A05ED #B434FB #CA70FC #E0ACFD #F4E1FE

Accessibility & contrast

On white

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

On black

7.23
#CA70FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA70FC
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA70FC#FFFFFF#000000##000000
##CA70FC1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#6799F9
Tritanopia (blue-blind)
#C489AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca70fc;
/* rgb */ color: rgb(202, 112, 252);
/* oklch */ color: oklch(70.3% 0.210 311.9);
Tailwind
colors: {
  custom: {
    50: '#dd9dfe',
    500: '#ca70fc',
    950: '#000000',
  },
}
SCSS
$custom: #ca70fc;
$custom-light: #dd9dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca70fc",
  "rgb": {
    "r": 202,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 278.571,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70276,
    "c": 0.21038,
    "h": 311.9
  },
  "luminance": 0.31173
}

Semantic roles & 50–950 ramp

primary
#CA70FC
secondary
#DFF6D2
accent
#E60052
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #CA70FC

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

Preview Lab → · Contrast checker → · Palette generator →

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