#CA8EF8#CA8EF8

#CA8EF8 is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.6% C 0.159 H 309.1°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#CA8EF8
RGBrgb(202, 142, 248)
HSLhsl(274, 88%, 76%)
HSVhsv(274, 43%, 97%)
CMYKcmyk(18.5%, 42.7%, 0%, 2.7%)
CIE-LABlab(68.52, 41.91, -44.42)
CIE-LCHlch(68.52, 61.08, 313.34°)
OKLaboklab(74.57% 0.1003 -0.1235)
OKLCHoklch(74.57% 0.159 309.1)
XYZxyz(50.9702, 38.6805, 93.5697)
Luminance0.3868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8EF8 #BCF88E
analogous
#958EF8 #CA8EF8 #F88EF1
triadic
#CA8EF8 #F8CA8E #8EF8CA
tetradic
#CA8EF8 #F8958E #BCF88E #8EF1F8
square
#CA8EF8 #F8958E #BCF88E #8EF1F8
split-complementary
#CA8EF8 #F1F88E #8EF895
monochromatic
#941BF1 #AF54F4 #CA8EF8 #E5C8FC #F1E2FD

Accessibility & contrast

On white

2.40
#CA8EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#CA8EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8EF8
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8EF8#FFFFFF#000000##000000
##CA8EF81.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A4FC
Deuteranopia (green-blind)
#85A8F5
Tritanopia (blue-blind)
#C49EB7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca8ef8;
/* rgb */ color: rgb(202, 142, 248);
/* oklch */ color: oklch(74.6% 0.159 309.1);
Tailwind
colors: {
  custom: {
    50: '#dcb0fb',
    500: '#ca8ef8',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ef8;
$custom-light: #dcb0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ef8",
  "rgb": {
    "r": 202,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 273.962,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74566,
    "c": 0.1591,
    "h": 309.1
  },
  "luminance": 0.3868
}

Semantic roles & 50–950 ramp

primary
#CA8EF8
secondary
#E3F5D6
accent
#E50164
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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