#CA92F8#CA92F8

#CA92F8 is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.2% C 0.153 H 308.4°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#CA92F8
RGBrgb(202, 146, 248)
HSLhsl(273, 88%, 77%)
HSVhsv(273, 41%, 97%)
CMYKcmyk(18.5%, 41.1%, 0%, 2.7%)
CIE-LABlab(69.39, 39.75, -43.05)
CIE-LCHlch(69.39, 58.60, 312.72°)
OKLaboklab(75.22% 0.0948 -0.1195)
OKLCHoklch(75.22% 0.153 308.4)
XYZxyz(51.5761, 39.8922, 93.7717)
Luminance0.3989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA92F8 #C0F892
analogous
#9792F8 #CA92F8 #F892F3
triadic
#CA92F8 #F8CA92 #92F8CA
tetradic
#CA92F8 #F89792 #C0F892 #92F3F8
square
#CA92F8 #F89792 #C0F892 #92F3F8
split-complementary
#CA92F8 #F3F892 #92F897
monochromatic
#921FF1 #AE58F4 #CA92F8 #E6CCFC #F1E2FD

Accessibility & contrast

On white

2.34
#CA92F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#CA92F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA92F8
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA92F8#FFFFFF#000000##000000
##CA92F81.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FC
Deuteranopia (green-blind)
#89AAF5
Tritanopia (blue-blind)
#C4A2B9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca92f8;
/* rgb */ color: rgb(202, 146, 248);
/* oklch */ color: oklch(75.2% 0.153 308.4);
Tailwind
colors: {
  custom: {
    50: '#dcb3fb',
    500: '#ca92f8',
    950: '#000000',
  },
}
SCSS
$custom: #ca92f8;
$custom-light: #dcb3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca92f8",
  "rgb": {
    "r": 202,
    "g": 146,
    "b": 248
  },
  "hsl": {
    "h": 272.941,
    "s": 87.931,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75222,
    "c": 0.15256,
    "h": 308.4
  },
  "luminance": 0.39892
}

Semantic roles & 50–950 ramp

primary
#CA92F8
secondary
#E4F5D6
accent
#E50168
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA92F8

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

Preview Lab → · Contrast checker → · Palette generator →

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