#CA92FC#CA92FC

#CA92FC is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.4% C 0.157 H 307.4°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#CA92FC
RGBrgb(202, 146, 252)
HSLhsl(272, 95%, 78%)
HSVhsv(272, 42%, 99%)
CMYKcmyk(19.8%, 42.1%, 0%, 1.2%)
CIE-LABlab(69.57, 40.63, -44.95)
CIE-LCHlch(69.57, 60.59, 312.11°)
OKLaboklab(75.41% 0.0955 -0.125)
OKLCHoklch(75.41% 0.157 307.4)
XYZxyz(52.2033, 40.1431, 97.0749)
Luminance0.4014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA92FC #C4FC92
analogous
#9592FC #CA92FC #FC92F9
triadic
#CA92FC #FCCA92 #92FCCA
tetradic
#CA92FC #FC9592 #C4FC92 #92F9FC
square
#CA92FC #FC9592 #C4FC92 #92F9FC
split-complementary
#CA92FC #F9FC92 #92FC95
monochromatic
#901BF9 #AD56FA #CA92FC #E7CEFE #F1E1FE

Accessibility & contrast

On white

2.33
#CA92FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#CA92FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA92FC
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA92FC#FFFFFF#000000##000000
##CA92FC1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#87ABF9
Tritanopia (blue-blind)
#C3A3BB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca92fc;
/* rgb */ color: rgb(202, 146, 252);
/* oklch */ color: oklch(75.4% 0.157 307.4);
Tailwind
colors: {
  custom: {
    50: '#dcb3fe',
    500: '#ca92fc',
    950: '#000000',
  },
}
SCSS
$custom: #ca92fc;
$custom-light: #dcb3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca92fc",
  "rgb": {
    "r": 202,
    "g": 146,
    "b": 252
  },
  "hsl": {
    "h": 271.698,
    "s": 94.643,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75415,
    "c": 0.15732,
    "h": 307.4
  },
  "luminance": 0.40143
}

Semantic roles & 50–950 ramp

primary
#CA92FC
secondary
#E5F6D5
accent
#E6006C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA92FC

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

Preview Lab → · Contrast checker → · Palette generator →

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