#CA90FB#CA90FB

#CA90FB is a light, vivid violet. Relative luminance 0.395; OKLCH L 75.0% C 0.159 H 308.0°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#CA90FB
RGBrgb(202, 144, 251)
HSLhsl(273, 93%, 77%)
HSVhsv(273, 43%, 98%)
CMYKcmyk(19.5%, 42.6%, 0%, 1.6%)
CIE-LABlab(69.09, 41.49, -45.17)
CIE-LCHlch(69.09, 61.33, 312.57°)
OKLaboklab(75.04% 0.0981 -0.1256)
OKLCHoklch(75.04% 0.159 308)
XYZxyz(51.7396, 39.4687, 96.1406)
Luminance0.3947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA90FB #C1FB90
analogous
#9490FB #CA90FB #FB90F7
triadic
#CA90FB #FBCA90 #90FBCA
tetradic
#CA90FB #FB9490 #C1FB90 #90F7FB
square
#CA90FB #FB9490 #C1FB90 #90F7FB
split-complementary
#CA90FB #F7FB90 #90FB94
monochromatic
#921AF7 #AE55F9 #CA90FB #E6CBFD #F1E1FE

Accessibility & contrast

On white

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

On black

8.89
#CA90FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA90FB
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA90FB#FFFFFF#000000##000000
##CA90FB1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca90fb;
/* rgb */ color: rgb(202, 144, 251);
/* oklch */ color: oklch(75.0% 0.159 308.0);
Tailwind
colors: {
  custom: {
    50: '#dcb1fd',
    500: '#ca90fb',
    950: '#000000',
  },
}
SCSS
$custom: #ca90fb;
$custom-light: #dcb1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca90fb",
  "rgb": {
    "r": 202,
    "g": 144,
    "b": 251
  },
  "hsl": {
    "h": 272.523,
    "s": 93.043,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75038,
    "c": 0.15937,
    "h": 308
  },
  "luminance": 0.39468
}

Semantic roles & 50–950 ramp

primary
#CA90FB
secondary
#E4F6D5
accent
#E60069
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA90FB

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

Preview Lab → · Contrast checker → · Palette generator →

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