#CA93ED#CA93ED

#CA93ED is a light, vivid violet. Relative luminance 0.395; OKLCH L 74.9% C 0.138 H 311.4°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#CA93ED
RGBrgb(202, 147, 237)
HSLhsl(277, 71%, 75%)
HSVhsv(277, 38%, 93%)
CMYKcmyk(14.8%, 38%, 0%, 7.1%)
CIE-LABlab(69.14, 36.84, -37.43)
CIE-LCHlch(69.14, 52.52, 314.55°)
OKLaboklab(74.88% 0.0912 -0.1034)
OKLCHoklch(74.88% 0.138 311.4)
XYZxyz(50.0742, 39.5392, 85.0983)
Luminance0.3954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA93ED #B6ED93
analogous
#9D93ED #CA93ED #ED93E3
triadic
#CA93ED #EDCA93 #93EDCA
tetradic
#CA93ED #ED9D93 #B6ED93 #93E3ED
square
#CA93ED #ED9D93 #B6ED93 #93E3ED
split-complementary
#CA93ED #E3ED93 #93ED9D
monochromatic
#972ADC #B05FE4 #CA93ED #E4C7F6 #F2E5FB

Accessibility & contrast

On white

2.36
#CA93ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#CA93ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA93ED
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA93ED#FFFFFF#000000##000000
##CA93ED1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A6F0
Deuteranopia (green-blind)
#8FAAEA
Tritanopia (blue-blind)
#C6A0B5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca93ed;
/* rgb */ color: rgb(202, 147, 237);
/* oklch */ color: oklch(74.9% 0.138 311.4);
Tailwind
colors: {
  custom: {
    50: '#dbb3f3',
    500: '#ca93ed',
    950: '#000000',
  },
}
SCSS
$custom: #ca93ed;
$custom-light: #dbb3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca93ed",
  "rgb": {
    "r": 202,
    "g": 147,
    "b": 237
  },
  "hsl": {
    "h": 276.667,
    "s": 71.429,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74876,
    "c": 0.13787,
    "h": 311.4
  },
  "luminance": 0.39538
}

Semantic roles & 50–950 ramp

primary
#CA93ED
secondary
#E3F2D9
accent
#D3125D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA93ED

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

Preview Lab → · Contrast checker → · Palette generator →

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