#CA90F8#CA90F8

#CA90F8 is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.9% C 0.156 H 308.8°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#CA90F8
RGBrgb(202, 144, 248)
HSLhsl(273, 88%, 77%)
HSVhsv(273, 42%, 97%)
CMYKcmyk(18.5%, 41.9%, 0%, 2.7%)
CIE-LABlab(68.95, 40.84, -43.74)
CIE-LCHlch(68.95, 59.84, 313.03°)
OKLaboklab(74.89% 0.0975 -0.1215)
OKLCHoklch(74.89% 0.156 308.8)
XYZxyz(51.2705, 39.2810, 93.6698)
Luminance0.3928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA90F8 #BEF890
analogous
#9690F8 #CA90F8 #F890F2
triadic
#CA90F8 #F8CA90 #90F8CA
tetradic
#CA90F8 #F89690 #BEF890 #90F2F8
square
#CA90F8 #F89690 #BEF890 #90F2F8
split-complementary
#CA90F8 #F2F890 #90F896
monochromatic
#931DF1 #AF56F4 #CA90F8 #E5CAFC #F1E2FD

Accessibility & contrast

On white

2.37
#CA90F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#CA90F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA90F8
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA90F8#FFFFFF#000000##000000
##CA90F81.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A6FC
Deuteranopia (green-blind)
#87A9F5
Tritanopia (blue-blind)
#C4A0B8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca90f8;
/* rgb */ color: rgb(202, 144, 248);
/* oklch */ color: oklch(74.9% 0.156 308.8);
Tailwind
colors: {
  custom: {
    50: '#dcb1fb',
    500: '#ca90f8',
    950: '#000000',
  },
}
SCSS
$custom: #ca90f8;
$custom-light: #dcb1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca90f8",
  "rgb": {
    "r": 202,
    "g": 144,
    "b": 248
  },
  "hsl": {
    "h": 273.462,
    "s": 88.136,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74893,
    "c": 0.15582,
    "h": 308.8
  },
  "luminance": 0.3928
}

Semantic roles & 50–950 ramp

primary
#CA90F8
secondary
#E4F5D6
accent
#E50166
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA90F8

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

Preview Lab → · Contrast checker → · Palette generator →

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