#CA90F2#CA90F2

#CA90F2 is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.6% C 0.149 H 310.4°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#CA90F2
RGBrgb(202, 144, 242)
HSLhsl(276, 79%, 76%)
HSVhsv(276, 40%, 95%)
CMYKcmyk(16.5%, 40.5%, 0%, 5.1%)
CIE-LABlab(68.69, 39.54, -40.88)
CIE-LCHlch(68.69, 56.87, 314.05°)
OKLaboklab(74.61% 0.0965 -0.1132)
OKLCHoklch(74.61% 0.149 310.4)
XYZxyz(50.3545, 38.9146, 88.8458)
Luminance0.3891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA90F2 #B8F290
analogous
#9990F2 #CA90F2 #F290E9
triadic
#CA90F2 #F2CA90 #90F2CA
tetradic
#CA90F2 #F29990 #B8F290 #90E9F2
square
#CA90F2 #F29990 #B8F290 #90E9F2
split-complementary
#CA90F2 #E9F290 #90F299
monochromatic
#9622E5 #B059EC #CA90F2 #E4C7F8 #F2E4FC

Accessibility & contrast

On white

2.39
#CA90F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#CA90F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA90F2
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA90F2#FFFFFF#000000##000000
##CA90F21.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA5F6
Deuteranopia (green-blind)
#8AA9EF
Tritanopia (blue-blind)
#C59FB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca90f2;
/* rgb */ color: rgb(202, 144, 242);
/* oklch */ color: oklch(74.6% 0.149 310.4);
Tailwind
colors: {
  custom: {
    50: '#dbb1f6',
    500: '#ca90f2',
    950: '#000000',
  },
}
SCSS
$custom: #ca90f2;
$custom-light: #dbb1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca90f2",
  "rgb": {
    "r": 202,
    "g": 144,
    "b": 242
  },
  "hsl": {
    "h": 275.51,
    "s": 79.032,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74606,
    "c": 0.14877,
    "h": 310.4
  },
  "luminance": 0.38914
}

Semantic roles & 50–950 ramp

primary
#CA90F2
secondary
#E3F4D7
accent
#DB0A60
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CA90F2

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

Preview Lab → · Contrast checker → · Palette generator →

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