#C87AF6#C87AF6

#C87AF6 is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.1% C 0.188 H 311.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#C87AF6
RGBrgb(200, 122, 246)
HSLhsl(278, 87%, 72%)
HSVhsv(278, 50%, 96%)
CMYKcmyk(18.7%, 50.4%, 0%, 3.5%)
CIE-LABlab(64.04, 51.53, -50.40)
CIE-LCHlch(64.04, 72.08, 315.64°)
OKLaboklab(71.15% 0.1247 -0.1408)
OKLCHoklch(71.15% 0.188 311.5)
XYZxyz(47.4105, 32.8532, 91.0147)
Luminance0.3285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87AF6 #A8F67A
analogous
#8A7AF6 #C87AF6 #F67AE6
triadic
#C87AF6 #F6C87A #7AF6C8
tetradic
#C87AF6 #F68A7A #A8F67A #7AE6F6
square
#C87AF6 #F68A7A #A8F67A #7AE6F6
split-complementary
#C87AF6 #E6F67A #7AF68A
monochromatic
#9610E6 #B041F2 #C87AF6 #E0B3FA #F3E2FD

Accessibility & contrast

On white

2.77
#C87AF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#C87AF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87AF6
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87AF6#FFFFFF#000000##000000
##C87AF61.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B97FA
Deuteranopia (green-blind)
#729DF3
Tritanopia (blue-blind)
#C38EAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c87af6;
/* rgb */ color: rgb(200, 122, 246);
/* oklch */ color: oklch(71.1% 0.188 311.5);
Tailwind
colors: {
  custom: {
    50: '#dba3fa',
    500: '#c87af6',
    950: '#000000',
  },
}
SCSS
$custom: #c87af6;
$custom-light: #dba3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c87af6",
  "rgb": {
    "r": 200,
    "g": 122,
    "b": 246
  },
  "hsl": {
    "h": 277.742,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71148,
    "c": 0.18809,
    "h": 311.5
  },
  "luminance": 0.32852
}

Semantic roles & 50–950 ramp

primary
#C87AF6
secondary
#E1F5D6
accent
#E40256
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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