#CA92FB#CA92FB

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

Color values

HEX#CA92FB
RGBrgb(202, 146, 251)
HSLhsl(272, 93%, 78%)
HSVhsv(272, 42%, 98%)
CMYKcmyk(19.5%, 41.8%, 0%, 1.6%)
CIE-LABlab(69.53, 40.41, -44.48)
CIE-LCHlch(69.53, 60.10, 312.25°)
OKLaboklab(75.37% 0.0953 -0.1237)
OKLCHoklch(75.37% 0.156 307.6)
XYZxyz(52.0452, 40.0799, 96.2425)
Luminance0.4008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA92FB #C3FB92
analogous
#9592FB #CA92FB #FB92F7
triadic
#CA92FB #FBCA92 #92FBCA
tetradic
#CA92FB #FB9592 #C3FB92 #92F7FB
square
#CA92FB #FB9592 #C3FB92 #92F7FB
split-complementary
#CA92FB #F7FB92 #92FB95
monochromatic
#911CF7 #AD57F9 #CA92FB #E7CDFD #F1E1FE

Accessibility & contrast

On white

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

On black

9.02
#CA92FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA92FB
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA92FB#FFFFFF#000000##000000
##CA92FB1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#88AAF8
Tritanopia (blue-blind)
#C3A2BB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca92fb;
/* rgb */ color: rgb(202, 146, 251);
/* oklch */ color: oklch(75.4% 0.156 307.6);
Tailwind
colors: {
  custom: {
    50: '#dcb3fd',
    500: '#ca92fb',
    950: '#000000',
  },
}
SCSS
$custom: #ca92fb;
$custom-light: #dcb3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca92fb",
  "rgb": {
    "r": 202,
    "g": 146,
    "b": 251
  },
  "hsl": {
    "h": 272,
    "s": 92.92,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75367,
    "c": 0.15613,
    "h": 307.6
  },
  "luminance": 0.40079
}

Semantic roles & 50–950 ramp

primary
#CA92FB
secondary
#E4F6D5
accent
#E6006B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA92FB

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

Preview Lab → · Contrast checker → · Palette generator →

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