#CA70FB#CA70FB

#CA70FB is a light, highly saturated violet. Relative luminance 0.311; OKLCH L 70.2% C 0.209 H 312.1°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CA70FB
RGBrgb(202, 112, 251)
HSLhsl(279, 95%, 71%)
HSVhsv(279, 55%, 98%)
CMYKcmyk(19.5%, 55.4%, 0%, 1.6%)
CIE-LABlab(62.60, 58.16, -55.42)
CIE-LCHlch(62.60, 80.33, 316.38°)
OKLaboklab(70.22% 0.1404 -0.1553)
OKLCHoklch(70.22% 0.209 312.1)
XYZxyz(47.5608, 31.1111, 94.7477)
Luminance0.3111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA70FB #A1FB70
analogous
#8470FB #CA70FB #FB70E6
triadic
#CA70FB #FBCA70 #70FBCA
tetradic
#CA70FB #FB8470 #A1FB70 #70E6FB
square
#CA70FB #FB8470 #A1FB70 #70E6FB
split-complementary
#CA70FB #E6FB70 #70FB84
monochromatic
#9A07EA #B434F9 #CA70FB #E0ACFD #F4E1FE

Accessibility & contrast

On white

2.91
#CA70FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#CA70FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA70FB
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA70FB#FFFFFF#000000##000000
##CA70FB1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#6799F8
Tritanopia (blue-blind)
#C588AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca70fb;
/* rgb */ color: rgb(202, 112, 251);
/* oklch */ color: oklch(70.2% 0.209 312.1);
Tailwind
colors: {
  custom: {
    50: '#dd9cfd',
    500: '#ca70fb',
    950: '#000000',
  },
}
SCSS
$custom: #ca70fb;
$custom-light: #dd9cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca70fb",
  "rgb": {
    "r": 202,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 278.849,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7022,
    "c": 0.20934,
    "h": 312.1
  },
  "luminance": 0.3111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA70FB

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

Preview Lab → · Contrast checker → · Palette generator →

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