#CA93F2#CA93F2

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

Color values

HEX#CA93F2
RGBrgb(202, 147, 242)
HSLhsl(275, 79%, 76%)
HSVhsv(275, 39%, 95%)
CMYKcmyk(16.5%, 39.3%, 0%, 5.1%)
CIE-LABlab(69.35, 37.91, -39.84)
CIE-LCHlch(69.35, 54.99, 313.58°)
OKLaboklab(75.11% 0.0923 -0.1103)
OKLCHoklch(75.11% 0.144 309.9)
XYZxyz(50.8149, 39.8355, 88.9993)
Luminance0.3983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA93F2 #BBF293
analogous
#9B93F2 #CA93F2 #F293EA
triadic
#CA93F2 #F2CA93 #93F2CA
tetradic
#CA93F2 #F29B93 #BBF293 #93EAF2
square
#CA93F2 #F29B93 #BBF293 #93EAF2
split-complementary
#CA93F2 #EAF293 #93F29B
monochromatic
#9426E5 #AF5CEB #CA93F2 #E5CAF9 #F2E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA93F2#FFFFFF#000000##000000
##CA93F21.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)
#80A7F6
Deuteranopia (green-blind)
#8DAAEF
Tritanopia (blue-blind)
#C5A1B7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca93f2;
/* rgb */ color: rgb(202, 147, 242);
/* oklch */ color: oklch(75.1% 0.144 309.9);
Tailwind
colors: {
  custom: {
    50: '#dbb3f6',
    500: '#ca93f2',
    950: '#000000',
  },
}
SCSS
$custom: #ca93f2;
$custom-light: #dbb3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca93f2",
  "rgb": {
    "r": 202,
    "g": 147,
    "b": 242
  },
  "hsl": {
    "h": 274.737,
    "s": 78.512,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75106,
    "c": 0.14378,
    "h": 309.9
  },
  "luminance": 0.39835
}

Semantic roles & 50–950 ramp

primary
#CA93F2
secondary
#E3F4D7
accent
#DB0B62
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CA93F2

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

Preview Lab → · Contrast checker → · Palette generator →

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