#CA90EC#CA90EC

#CA90EC is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.3% C 0.142 H 312.2°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#CA90EC
RGBrgb(202, 144, 236)
HSLhsl(278, 71%, 75%)
HSVhsv(278, 39%, 93%)
CMYKcmyk(14.4%, 39%, 0%, 7.5%)
CIE-LABlab(68.43, 38.26, -37.99)
CIE-LCHlch(68.43, 53.92, 315.21°)
OKLaboklab(74.33% 0.0953 -0.1049)
OKLCHoklch(74.33% 0.142 312.2)
XYZxyz(49.4681, 38.5601, 84.1775)
Luminance0.3856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA90EC #B2EC90
analogous
#9C90EC #CA90EC #EC90E0
triadic
#CA90EC #ECCA90 #90ECCA
tetradic
#CA90EC #EC9C90 #B2EC90 #90E0EC
square
#CA90EC #EC9C90 #B2EC90 #90E0EC
split-complementary
#CA90EC #E0EC90 #90EC9C
monochromatic
#9827DA #B15CE3 #CA90EC #E3C4F5 #F3E5FB

Accessibility & contrast

On white

2.41
#CA90EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#CA90EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA90EC
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA90EC#FFFFFF#000000##000000
##CA90EC1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA4EF
Deuteranopia (green-blind)
#8DA8E9
Tritanopia (blue-blind)
#C79DB3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca90ec;
/* rgb */ color: rgb(202, 144, 236);
/* oklch */ color: oklch(74.3% 0.142 312.2);
Tailwind
colors: {
  custom: {
    50: '#dbb1f2',
    500: '#ca90ec',
    950: '#000000',
  },
}
SCSS
$custom: #ca90ec;
$custom-light: #dbb1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca90ec",
  "rgb": {
    "r": 202,
    "g": 144,
    "b": 236
  },
  "hsl": {
    "h": 277.826,
    "s": 70.769,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74327,
    "c": 0.14176,
    "h": 312.2
  },
  "luminance": 0.38559
}

Semantic roles & 50–950 ramp

primary
#CA90EC
secondary
#E2F2D9
accent
#D3135A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA90EC

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

Preview Lab → · Contrast checker → · Palette generator →

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