#CA92F7#CA92F7

#CA92F7 is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.2% C 0.151 H 308.7°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#CA92F7
RGBrgb(202, 146, 247)
HSLhsl(273, 86%, 77%)
HSVhsv(273, 41%, 97%)
CMYKcmyk(18.2%, 40.9%, 0%, 3.1%)
CIE-LABlab(69.35, 39.53, -42.58)
CIE-LCHlch(69.35, 58.10, 312.88°)
OKLaboklab(75.18% 0.0946 -0.1182)
OKLCHoklch(75.18% 0.151 308.7)
XYZxyz(51.4213, 39.8303, 92.9568)
Luminance0.3983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA92F7 #BFF792
analogous
#9892F7 #CA92F7 #F792F2
triadic
#CA92F7 #F7CA92 #92F7CA
tetradic
#CA92F7 #F79892 #BFF792 #92F2F7
square
#CA92F7 #F79892 #BFF792 #92F2F7
split-complementary
#CA92F7 #F2F792 #92F798
monochromatic
#9320EF #AE59F3 #CA92F7 #E6CBFB #F1E2FD

Accessibility & contrast

On white

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

On black

8.97
#CA92F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA92F7
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA92F7#FFFFFF#000000##000000
##CA92F71.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FB
Deuteranopia (green-blind)
#8AAAF4
Tritanopia (blue-blind)
#C4A1B9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca92f7;
/* rgb */ color: rgb(202, 146, 247);
/* oklch */ color: oklch(75.2% 0.151 308.7);
Tailwind
colors: {
  custom: {
    50: '#dcb3fa',
    500: '#ca92f7',
    950: '#000000',
  },
}
SCSS
$custom: #ca92f7;
$custom-light: #dcb3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca92f7",
  "rgb": {
    "r": 202,
    "g": 146,
    "b": 247
  },
  "hsl": {
    "h": 273.267,
    "s": 86.325,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75175,
    "c": 0.15137,
    "h": 308.7
  },
  "luminance": 0.3983
}

Semantic roles & 50–950 ramp

primary
#CA92F7
secondary
#E4F5D6
accent
#E30367
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA92F7

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

Preview Lab → · Contrast checker → · Palette generator →

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