#CA8FF0#CA8FF0

#CA8FF0 is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.3% C 0.148 H 311.2°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#CA8FF0
RGBrgb(202, 143, 240)
HSLhsl(276, 76%, 75%)
HSVhsv(276, 40%, 94%)
CMYKcmyk(15.8%, 40.4%, 0%, 5.9%)
CIE-LABlab(68.38, 39.65, -40.26)
CIE-LCHlch(68.38, 56.51, 314.57°)
OKLaboklab(74.35% 0.0975 -0.1115)
OKLCHoklch(74.35% 0.148 311.2)
XYZxyz(49.9050, 38.4936, 87.2222)
Luminance0.3849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FF0 #B5F08F
analogous
#9A8FF0 #CA8FF0 #F08FE5
triadic
#CA8FF0 #F0CA8F #8FF0CA
tetradic
#CA8FF0 #F09A8F #B5F08F #8FE5F0
square
#CA8FF0 #F09A8F #B5F08F #8FE5F0
split-complementary
#CA8FF0 #E5F08F #8FF09A
monochromatic
#9723E2 #B059E9 #CA8FF0 #E4C5F7 #F2E4FB

Accessibility & contrast

On white

2.41
#CA8FF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#CA8FF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FF0
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FF0#FFFFFF#000000##000000
##CA8FF01.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA4F4
Deuteranopia (green-blind)
#8AA8ED
Tritanopia (blue-blind)
#C69DB4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca8ff0;
/* rgb */ color: rgb(202, 143, 240);
/* oklch */ color: oklch(74.3% 0.148 311.2);
Tailwind
colors: {
  custom: {
    50: '#dbb1f5',
    500: '#ca8ff0',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ff0;
$custom-light: #dbb1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ff0",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 240
  },
  "hsl": {
    "h": 276.495,
    "s": 76.378,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74347,
    "c": 0.14809,
    "h": 311.2
  },
  "luminance": 0.38493
}

Semantic roles & 50–950 ramp

primary
#CA8FF0
secondary
#E3F3D8
accent
#D90D5D
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151117
muted
#838085

Preview Lab

Preview with #CA8FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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