#CA8EF0#CA8EF0

#CA8EF0 is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.2% C 0.150 H 311.3°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#CA8EF0
RGBrgb(202, 142, 240)
HSLhsl(277, 77%, 75%)
HSVhsv(277, 41%, 94%)
CMYKcmyk(15.8%, 40.8%, 0%, 5.9%)
CIE-LABlab(68.16, 40.19, -40.60)
CIE-LCHlch(68.16, 57.13, 314.71°)
OKLaboklab(74.18% 0.0989 -0.1124)
OKLCHoklch(74.18% 0.15 311.3)
XYZxyz(49.7555, 38.1947, 87.1724)
Luminance0.3819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8EF0 #B4F08E
analogous
#998EF0 #CA8EF0 #F08EE5
triadic
#CA8EF0 #F0CA8E #8EF0CA
tetradic
#CA8EF0 #F0998E #B4F08E #8EE5F0
square
#CA8EF0 #F0998E #B4F08E #8EE5F0
split-complementary
#CA8EF0 #E5F08E #8EF099
monochromatic
#9722E2 #B158E9 #CA8EF0 #E3C4F7 #F2E4FB

Accessibility & contrast

On white

2.43
#CA8EF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#CA8EF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8EF0
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8EF0#FFFFFF#000000##000000
##CA8EF01.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA3F4
Deuteranopia (green-blind)
#89A7ED
Tritanopia (blue-blind)
#C69CB4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca8ef0;
/* rgb */ color: rgb(202, 142, 240);
/* oklch */ color: oklch(74.2% 0.150 311.3);
Tailwind
colors: {
  custom: {
    50: '#dbb0f5',
    500: '#ca8ef0',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ef0;
$custom-light: #dbb0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ef0",
  "rgb": {
    "r": 202,
    "g": 142,
    "b": 240
  },
  "hsl": {
    "h": 276.735,
    "s": 76.563,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74182,
    "c": 0.14975,
    "h": 311.3
  },
  "luminance": 0.38194
}

Semantic roles & 50–950 ramp

primary
#CA8EF0
secondary
#E2F3D8
accent
#D90D5C
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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