#CA8EF2#CA8EF2

#CA8EF2 is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.3% C 0.152 H 310.7°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#CA8EF2
RGBrgb(202, 142, 242)
HSLhsl(276, 79%, 75%)
HSVhsv(276, 41%, 95%)
CMYKcmyk(16.5%, 41.3%, 0%, 5.1%)
CIE-LABlab(68.25, 40.62, -41.56)
CIE-LCHlch(68.25, 58.11, 314.34°)
OKLaboklab(74.28% 0.0993 -0.1152)
OKLCHoklch(74.28% 0.152 310.7)
XYZxyz(50.0543, 38.3142, 88.7457)
Luminance0.3831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8EF2 #B6F28E
analogous
#988EF2 #CA8EF2 #F28EE8
triadic
#CA8EF2 #F2CA8E #8EF2CA
tetradic
#CA8EF2 #F2988E #B6F28E #8EE8F2
square
#CA8EF2 #F2988E #B6F28E #8EE8F2
split-complementary
#CA8EF2 #E8F28E #8EF298
monochromatic
#9720E5 #B057EC #CA8EF2 #E4C5F8 #F2E4FC

Accessibility & contrast

On white

2.42
#CA8EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#CA8EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8EF2
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8EF2#FFFFFF#000000##000000
##CA8EF21.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A3F6
Deuteranopia (green-blind)
#88A8EF
Tritanopia (blue-blind)
#C69DB5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca8ef2;
/* rgb */ color: rgb(202, 142, 242);
/* oklch */ color: oklch(74.3% 0.152 310.7);
Tailwind
colors: {
  custom: {
    50: '#dcb0f6',
    500: '#ca8ef2',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ef2;
$custom-light: #dcb0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ef2",
  "rgb": {
    "r": 202,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 276,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74277,
    "c": 0.15209,
    "h": 310.7
  },
  "luminance": 0.38313
}

Semantic roles & 50–950 ramp

primary
#CA8EF2
secondary
#E3F4D7
accent
#DC0A5E
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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