#CA92FF#CA92FF

#CA92FF is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.6% C 0.161 H 306.6°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#CA92FF
RGBrgb(202, 146, 255)
HSLhsl(271, 100%, 79%)
HSVhsv(271, 43%, 100%)
CMYKcmyk(20.8%, 42.7%, 0%, 0%)
CIE-LABlab(69.71, 41.29, -46.37)
CIE-LCHlch(69.71, 62.09, 311.68°)
OKLaboklab(75.56% 0.096 -0.1291)
OKLCHoklch(75.56% 0.161 306.6)
XYZxyz(52.6824, 40.3348, 99.5984)
Luminance0.4033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA92FF #C7FF92
analogous
#9392FF #CA92FF #FF92FD
triadic
#CA92FF #FFCA92 #92FFCA
tetradic
#CA92FF #FF9392 #C7FF92 #92FDFF
square
#CA92FF #FF9392 #C7FF92 #92FDFF
split-complementary
#CA92FF #FDFF92 #92FF93
monochromatic
#8E18FF #AC55FF #CA92FF #E8CFFF #F0E0FF

Accessibility & contrast

On white

2.32
#CA92FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#CA92FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA92FF
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA92FF#FFFFFF#000000##000000
##CA92FF1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#85ABFC
Tritanopia (blue-blind)
#C2A4BC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca92ff;
/* rgb */ color: rgb(202, 146, 255);
/* oklch */ color: oklch(75.6% 0.161 306.6);
Tailwind
colors: {
  custom: {
    50: '#dcb3ff',
    500: '#ca92ff',
    950: '#000000',
  },
}
SCSS
$custom: #ca92ff;
$custom-light: #dcb3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca92ff",
  "rgb": {
    "r": 202,
    "g": 146,
    "b": 255
  },
  "hsl": {
    "h": 270.826,
    "s": 100,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75562,
    "c": 0.1609,
    "h": 306.6
  },
  "luminance": 0.40334
}

Semantic roles & 50–950 ramp

primary
#CA92FF
secondary
#E5F7D4
accent
#E60070
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA92FF

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

Preview Lab → · Contrast checker → · Palette generator →

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