#CA92FE#CA92FE

#CA92FE is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.5% C 0.160 H 306.9°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#CA92FE
RGBrgb(202, 146, 254)
HSLhsl(271, 98%, 78%)
HSVhsv(271, 43%, 100%)
CMYKcmyk(20.5%, 42.5%, 0%, 0.4%)
CIE-LABlab(69.66, 41.07, -45.90)
CIE-LCHlch(69.66, 61.59, 311.82°)
OKLaboklab(75.51% 0.0958 -0.1278)
OKLCHoklch(75.51% 0.16 306.9)
XYZxyz(52.5218, 40.2705, 98.7528)
Luminance0.4027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA92FE #C6FE92
analogous
#9492FE #CA92FE #FE92FC
triadic
#CA92FE #FECA92 #92FECA
tetradic
#CA92FE #FE9492 #C6FE92 #92FCFE
square
#CA92FE #FE9492 #C6FE92 #92FCFE
split-complementary
#CA92FE #FCFE92 #92FE94
monochromatic
#8F19FD #AD55FD #CA92FE #E7CFFF #F0E1FF

Accessibility & contrast

On white

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

On black

9.05
#CA92FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA92FE
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA92FE#FFFFFF#000000##000000
##CA92FE1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#86ABFB
Tritanopia (blue-blind)
#C2A3BC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca92fe;
/* rgb */ color: rgb(202, 146, 254);
/* oklch */ color: oklch(75.5% 0.160 306.9);
Tailwind
colors: {
  custom: {
    50: '#dcb3ff',
    500: '#ca92fe',
    950: '#000000',
  },
}
SCSS
$custom: #ca92fe;
$custom-light: #dcb3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca92fe",
  "rgb": {
    "r": 202,
    "g": 146,
    "b": 254
  },
  "hsl": {
    "h": 271.111,
    "s": 98.182,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75513,
    "c": 0.1597,
    "h": 306.9
  },
  "luminance": 0.4027
}

Semantic roles & 50–950 ramp

primary
#CA92FE
secondary
#E5F7D4
accent
#E6006F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA92FE

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

Preview Lab → · Contrast checker → · Palette generator →

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