#CA92EC#CA92EC

#CA92EC is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.7% C 0.138 H 311.9°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#CA92EC
RGBrgb(202, 146, 236)
HSLhsl(277, 70%, 75%)
HSVhsv(277, 38%, 93%)
CMYKcmyk(14.4%, 38.1%, 0%, 7.5%)
CIE-LABlab(68.88, 37.18, -37.30)
CIE-LCHlch(68.88, 52.66, 314.91°)
OKLaboklab(74.66% 0.0925 -0.103)
OKLCHoklch(74.66% 0.138 311.9)
XYZxyz(49.7737, 39.1713, 84.2794)
Luminance0.3917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA92EC #B4EC92
analogous
#9D92EC #CA92EC #EC92E1
triadic
#CA92EC #ECCA92 #92ECCA
tetradic
#CA92EC #EC9D92 #B4EC92 #92E1EC
square
#CA92EC #EC9D92 #B4EC92 #92E1EC
split-complementary
#CA92EC #E1EC92 #92EC9D
monochromatic
#972ADA #B15EE3 #CA92EC #E3C6F5 #F2E5FA

Accessibility & contrast

On white

2.38
#CA92EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#CA92EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA92EC
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA92EC#FFFFFF#000000##000000
##CA92EC1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A5EF
Deuteranopia (green-blind)
#8FA9E9
Tritanopia (blue-blind)
#C79FB4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca92ec;
/* rgb */ color: rgb(202, 146, 236);
/* oklch */ color: oklch(74.7% 0.138 311.9);
Tailwind
colors: {
  custom: {
    50: '#dbb3f2',
    500: '#ca92ec',
    950: '#000000',
  },
}
SCSS
$custom: #ca92ec;
$custom-light: #dbb3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca92ec",
  "rgb": {
    "r": 202,
    "g": 146,
    "b": 236
  },
  "hsl": {
    "h": 277.333,
    "s": 70.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74662,
    "c": 0.13839,
    "h": 311.9
  },
  "luminance": 0.3917
}

Semantic roles & 50–950 ramp

primary
#CA92EC
secondary
#E2F2D9
accent
#D2135B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA92EC

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

Preview Lab → · Contrast checker → · Palette generator →

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