#CA90FC#CA90FC

#CA90FC is a light, vivid violet. Relative luminance 0.395; OKLCH L 75.1% C 0.161 H 307.7°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#CA90FC
RGBrgb(202, 144, 252)
HSLhsl(272, 95%, 78%)
HSVhsv(272, 43%, 99%)
CMYKcmyk(19.8%, 42.9%, 0%, 1.2%)
CIE-LABlab(69.13, 41.71, -45.64)
CIE-LCHlch(69.13, 61.83, 312.42°)
OKLaboklab(75.09% 0.0982 -0.127)
OKLCHoklch(75.09% 0.161 307.7)
XYZxyz(51.8976, 39.5319, 96.9730)
Luminance0.3953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA90FC #C2FC90
analogous
#9490FC #CA90FC #FC90F8
triadic
#CA90FC #FCCA90 #90FCCA
tetradic
#CA90FC #FC9490 #C2FC90 #90F8FC
square
#CA90FC #FC9490 #C2FC90 #90F8FC
split-complementary
#CA90FC #F8FC90 #90FC94
monochromatic
#9119F9 #AE54FA #CA90FC #E6CCFE #F1E1FE

Accessibility & contrast

On white

2.36
#CA90FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#CA90FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA90FC
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA90FC#FFFFFF#000000##000000
##CA90FC1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FF
Deuteranopia (green-blind)
#85A9F9
Tritanopia (blue-blind)
#C3A1BA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca90fc;
/* rgb */ color: rgb(202, 144, 252);
/* oklch */ color: oklch(75.1% 0.161 307.7);
Tailwind
colors: {
  custom: {
    50: '#dcb1fe',
    500: '#ca90fc',
    950: '#000000',
  },
}
SCSS
$custom: #ca90fc;
$custom-light: #dcb1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca90fc",
  "rgb": {
    "r": 202,
    "g": 144,
    "b": 252
  },
  "hsl": {
    "h": 272.222,
    "s": 94.737,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75087,
    "c": 0.16055,
    "h": 307.7
  },
  "luminance": 0.39531
}

Semantic roles & 50–950 ramp

primary
#CA90FC
secondary
#E4F6D5
accent
#E6006A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA90FC

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

Preview Lab → · Contrast checker → · Palette generator →

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