#CA91F2#CA91F2

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

Color values

HEX#CA91F2
RGBrgb(202, 145, 242)
HSLhsl(275, 79%, 76%)
HSVhsv(275, 40%, 95%)
CMYKcmyk(16.5%, 40.1%, 0%, 5.1%)
CIE-LABlab(68.91, 39.00, -40.53)
CIE-LCHlch(68.91, 56.24, 313.89°)
OKLaboklab(74.77% 0.0951 -0.1123)
OKLCHoklch(74.77% 0.147 310.3)
XYZxyz(50.5066, 39.2189, 88.8965)
Luminance0.3922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA91F2 #B9F291
analogous
#9991F2 #CA91F2 #F291E9
triadic
#CA91F2 #F2CA91 #91F2CA
tetradic
#CA91F2 #F29991 #B9F291 #91E9F2
square
#CA91F2 #F29991 #B9F291 #91E9F2
split-complementary
#CA91F2 #E9F291 #91F299
monochromatic
#9524E5 #B05AEC #CA91F2 #E4C8F8 #F2E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA91F2#FFFFFF#000000##000000
##CA91F21.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)
#7DA5F6
Deuteranopia (green-blind)
#8BA9EF
Tritanopia (blue-blind)
#C59FB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca91f2;
/* rgb */ color: rgb(202, 145, 242);
/* oklch */ color: oklch(74.8% 0.147 310.3);
Tailwind
colors: {
  custom: {
    50: '#dbb2f6',
    500: '#ca91f2',
    950: '#000000',
  },
}
SCSS
$custom: #ca91f2;
$custom-light: #dbb2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca91f2",
  "rgb": {
    "r": 202,
    "g": 145,
    "b": 242
  },
  "hsl": {
    "h": 275.258,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74772,
    "c": 0.14711,
    "h": 310.3
  },
  "luminance": 0.39218
}

Semantic roles & 50–950 ramp

primary
#CA91F2
secondary
#E3F4D7
accent
#DB0A60
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CA91F2

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

Preview Lab → · Contrast checker → · Palette generator →

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