#CA91F7#CA91F7

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

Color values

HEX#CA91F7
RGBrgb(202, 145, 247)
HSLhsl(274, 86%, 77%)
HSVhsv(274, 41%, 97%)
CMYKcmyk(18.2%, 41.3%, 0%, 3.1%)
CIE-LABlab(69.13, 40.08, -42.92)
CIE-LCHlch(69.13, 58.72, 313.04°)
OKLaboklab(75.01% 0.096 -0.1192)
OKLCHoklch(75.01% 0.153 308.9)
XYZxyz(51.2679, 39.5234, 92.9056)
Luminance0.3952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA91F7 #BEF791
analogous
#9791F7 #CA91F7 #F791F1
triadic
#CA91F7 #F7CA91 #91F7CA
tetradic
#CA91F7 #F79791 #BEF791 #91F1F7
square
#CA91F7 #F79791 #BEF791 #91F1F7
split-complementary
#CA91F7 #F1F791 #91F797
monochromatic
#931FEF #AF58F3 #CA91F7 #E5CAFB #F1E2FD

Accessibility & contrast

On white

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

On black

8.90
#CA91F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA91F7
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA91F7#FFFFFF#000000##000000
##CA91F71.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA6FB
Deuteranopia (green-blind)
#89AAF4
Tritanopia (blue-blind)
#C4A1B8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca91f7;
/* rgb */ color: rgb(202, 145, 247);
/* oklch */ color: oklch(75.0% 0.153 308.9);
Tailwind
colors: {
  custom: {
    50: '#dcb2fa',
    500: '#ca91f7',
    950: '#000000',
  },
}
SCSS
$custom: #ca91f7;
$custom-light: #dcb2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca91f7",
  "rgb": {
    "r": 202,
    "g": 145,
    "b": 247
  },
  "hsl": {
    "h": 273.529,
    "s": 86.441,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75009,
    "c": 0.15301,
    "h": 308.9
  },
  "luminance": 0.39523
}

Semantic roles & 50–950 ramp

primary
#CA91F7
secondary
#E4F5D6
accent
#E30366
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA91F7

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

Preview Lab → · Contrast checker → · Palette generator →

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