#CA70FE#CA70FE

#CA70FE is a light, highly saturated violet. Relative luminance 0.313; OKLCH L 70.4% C 0.212 H 311.4°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#CA70FE
RGBrgb(202, 112, 254)
HSLhsl(278, 99%, 72%)
HSVhsv(278, 56%, 100%)
CMYKcmyk(20.5%, 55.9%, 0%, 0.4%)
CIE-LABlab(62.76, 58.79, -56.82)
CIE-LCHlch(62.76, 81.76, 315.98°)
OKLaboklab(70.39% 0.1405 -0.1594)
OKLCHoklch(70.39% 0.212 311.4)
XYZxyz(48.0374, 31.3017, 97.2580)
Luminance0.3130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA70FE #A4FE70
analogous
#8370FE #CA70FE #FE70EB
triadic
#CA70FE #FECA70 #70FECA
tetradic
#CA70FE #FE8370 #A4FE70 #70EBFE
square
#CA70FE #FE8370 #A4FE70 #70EBFE
split-complementary
#CA70FE #EBFE70 #70FE83
monochromatic
#9A02F2 #B333FE #CA70FE #E1ADFE #F4E1FF

Accessibility & contrast

On white

2.89
#CA70FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#CA70FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA70FE
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA70FE#FFFFFF#000000##000000
##CA70FE1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#659AFA
Tritanopia (blue-blind)
#C489AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca70fe;
/* rgb */ color: rgb(202, 112, 254);
/* oklch */ color: oklch(70.4% 0.212 311.4);
Tailwind
colors: {
  custom: {
    50: '#dd9dff',
    500: '#ca70fe',
    950: '#000000',
  },
}
SCSS
$custom: #ca70fe;
$custom-light: #dd9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca70fe",
  "rgb": {
    "r": 202,
    "g": 112,
    "b": 254
  },
  "hsl": {
    "h": 278.028,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70389,
    "c": 0.21247,
    "h": 311.4
  },
  "luminance": 0.31301
}

Semantic roles & 50–950 ramp

primary
#CA70FE
secondary
#E0F7D3
accent
#E60054
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #CA70FE

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

Preview Lab → · Contrast checker → · Palette generator →

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