#CA8DF0#CA8DF0

#CA8DF0 is a light, vivid violet. Relative luminance 0.379; OKLCH L 74.0% C 0.151 H 311.5°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#CA8DF0
RGBrgb(202, 141, 240)
HSLhsl(277, 77%, 75%)
HSVhsv(277, 41%, 94%)
CMYKcmyk(15.8%, 41.3%, 0%, 5.9%)
CIE-LABlab(67.95, 40.73, -40.94)
CIE-LCHlch(67.95, 57.75, 314.85°)
OKLaboklab(74.02% 0.1003 -0.1134)
OKLCHoklch(74.02% 0.151 311.5)
XYZxyz(49.6074, 37.8984, 87.1230)
Luminance0.3790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8DF0 #B3F08D
analogous
#998DF0 #CA8DF0 #F08DE4
triadic
#CA8DF0 #F0CA8D #8DF0CA
tetradic
#CA8DF0 #F0998D #B3F08D #8DE4F0
square
#CA8DF0 #F0998D #B3F08D #8DE4F0
split-complementary
#CA8DF0 #E4F08D #8DF099
monochromatic
#9821E2 #B157E9 #CA8DF0 #E3C3F7 #F2E4FB

Accessibility & contrast

On white

2.45
#CA8DF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#CA8DF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8DF0
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8DF0#FFFFFF#000000##000000
##CA8DF01.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A2F4
Deuteranopia (green-blind)
#88A7ED
Tritanopia (blue-blind)
#C69CB3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca8df0;
/* rgb */ color: rgb(202, 141, 240);
/* oklch */ color: oklch(74.0% 0.151 311.5);
Tailwind
colors: {
  custom: {
    50: '#dbaff5',
    500: '#ca8df0',
    950: '#000000',
  },
}
SCSS
$custom: #ca8df0;
$custom-light: #dbaff5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8df0",
  "rgb": {
    "r": 202,
    "g": 141,
    "b": 240
  },
  "hsl": {
    "h": 276.97,
    "s": 76.744,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74018,
    "c": 0.15142,
    "h": 311.5
  },
  "luminance": 0.37898
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA8DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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