#CA8BF2#CA8BF2

#CA8BF2 is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.8% C 0.157 H 311.2°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#CA8BF2
RGBrgb(202, 139, 242)
HSLhsl(277, 80%, 75%)
HSVhsv(277, 43%, 95%)
CMYKcmyk(16.5%, 42.6%, 0%, 5.1%)
CIE-LABlab(67.60, 42.24, -42.58)
CIE-LCHlch(67.60, 59.97, 314.77°)
OKLaboklab(73.79% 0.1035 -0.1181)
OKLCHoklch(73.79% 0.157 311.2)
XYZxyz(49.6139, 37.4335, 88.5989)
Luminance0.3743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BF2 #B3F28B
analogous
#978BF2 #CA8BF2 #F28BE7
triadic
#CA8BF2 #F2CA8B #8BF2CA
tetradic
#CA8BF2 #F2978B #B3F28B #8BE7F2
square
#CA8BF2 #F2978B #B3F28B #8BE7F2
split-complementary
#CA8BF2 #E7F28B #8BF297
monochromatic
#981DE6 #B154EC #CA8BF2 #E3C2F8 #F2E3FC

Accessibility & contrast

On white

2.47
#CA8BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#CA8BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BF2
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BF2#FFFFFF#000000##000000
##CA8BF21.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A1F6
Deuteranopia (green-blind)
#86A6EF
Tritanopia (blue-blind)
#C69AB3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8bf2;
/* rgb */ color: rgb(202, 139, 242);
/* oklch */ color: oklch(73.8% 0.157 311.2);
Tailwind
colors: {
  custom: {
    50: '#dcaef6',
    500: '#ca8bf2',
    950: '#000000',
  },
}
SCSS
$custom: #ca8bf2;
$custom-light: #dcaef6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8bf2",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 276.699,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73788,
    "c": 0.15704,
    "h": 311.2
  },
  "luminance": 0.37433
}

Semantic roles & 50–950 ramp

primary
#CA8BF2
secondary
#E2F4D7
accent
#DC095B
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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