#CA90FE#CA90FE

#CA90FE is a light, vivid violet. Relative luminance 0.397; OKLCH L 75.2% C 0.163 H 307.2°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#CA90FE
RGBrgb(202, 144, 254)
HSLhsl(272, 98%, 78%)
HSVhsv(272, 43%, 100%)
CMYKcmyk(20.5%, 43.3%, 0%, 0.4%)
CIE-LABlab(69.23, 42.15, -46.59)
CIE-LCHlch(69.23, 62.82, 312.14°)
OKLaboklab(75.19% 0.0985 -0.1297)
OKLCHoklch(75.19% 0.163 307.2)
XYZxyz(52.2162, 39.6593, 98.6509)
Luminance0.3966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA90FE #C4FE90
analogous
#9390FE #CA90FE #FE90FB
triadic
#CA90FE #FECA90 #90FECA
tetradic
#CA90FE #FE9390 #C4FE90 #90FBFE
square
#CA90FE #FE9390 #C4FE90 #90FBFE
split-complementary
#CA90FE #FBFE90 #90FE93
monochromatic
#9017FD #AD53FD #CA90FE #E7CDFF #F1E1FF

Accessibility & contrast

On white

2.35
#CA90FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#CA90FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA90FE
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA90FE#FFFFFF#000000##000000
##CA90FE1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A7FF
Deuteranopia (green-blind)
#84AAFB
Tritanopia (blue-blind)
#C3A2BB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca90fe;
/* rgb */ color: rgb(202, 144, 254);
/* oklch */ color: oklch(75.2% 0.163 307.2);
Tailwind
colors: {
  custom: {
    50: '#dcb1ff',
    500: '#ca90fe',
    950: '#000000',
  },
}
SCSS
$custom: #ca90fe;
$custom-light: #dcb1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca90fe",
  "rgb": {
    "r": 202,
    "g": 144,
    "b": 254
  },
  "hsl": {
    "h": 271.636,
    "s": 98.214,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75186,
    "c": 0.16292,
    "h": 307.2
  },
  "luminance": 0.39659
}

Semantic roles & 50–950 ramp

primary
#CA90FE
secondary
#E5F7D4
accent
#E6006C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA90FE

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

Preview Lab → · Contrast checker → · Palette generator →

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