#CA90F7#CA90F7

#CA90F7 is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.8% C 0.155 H 309.0°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#CA90F7
RGBrgb(202, 144, 247)
HSLhsl(274, 87%, 77%)
HSVhsv(274, 42%, 97%)
CMYKcmyk(18.2%, 41.7%, 0%, 3.1%)
CIE-LABlab(68.91, 40.62, -43.27)
CIE-LCHlch(68.91, 59.34, 313.19°)
OKLaboklab(74.84% 0.0974 -0.1201)
OKLCHoklch(74.84% 0.155 309)
XYZxyz(51.1157, 39.2191, 92.8549)
Luminance0.3922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA90F7 #BDF790
analogous
#9790F7 #CA90F7 #F790F1
triadic
#CA90F7 #F7CA90 #90F7CA
tetradic
#CA90F7 #F79790 #BDF790 #90F1F7
square
#CA90F7 #F79790 #BDF790 #90F1F7
split-complementary
#CA90F7 #F1F790 #90F797
monochromatic
#931EEF #AF57F3 #CA90F7 #E5C9FB #F1E2FD

Accessibility & contrast

On white

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

On black

8.84
#CA90F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA90F7
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA90F7#FFFFFF#000000##000000
##CA90F71.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FB
Deuteranopia (green-blind)
#88A9F4
Tritanopia (blue-blind)
#C4A0B8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca90f7;
/* rgb */ color: rgb(202, 144, 247);
/* oklch */ color: oklch(74.8% 0.155 309.0);
Tailwind
colors: {
  custom: {
    50: '#dcb1fa',
    500: '#ca90f7',
    950: '#000000',
  },
}
SCSS
$custom: #ca90f7;
$custom-light: #dcb1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca90f7",
  "rgb": {
    "r": 202,
    "g": 144,
    "b": 247
  },
  "hsl": {
    "h": 273.786,
    "s": 86.555,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74844,
    "c": 0.15465,
    "h": 309
  },
  "luminance": 0.39218
}

Semantic roles & 50–950 ramp

primary
#CA90F7
secondary
#E4F5D6
accent
#E30265
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA90F7

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

Preview Lab → · Contrast checker → · Palette generator →

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