#C851ED#C851ED

#C851ED is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.4% C 0.238 H 317.2°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#C851ED
RGBrgb(200, 81, 237)
HSLhsl(286, 81%, 62%)
HSVhsv(286, 66%, 93%)
CMYKcmyk(15.6%, 65.8%, 0%, 7.1%)
CIE-LABlab(56.37, 69.05, -57.62)
CIE-LCHlch(56.37, 89.93, 320.16°)
OKLaboklab(65.39% 0.1743 -0.1616)
OKLCHoklch(65.39% 0.238 317.2)
XYZxyz(42.0457, 24.2803, 82.5761)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C851ED #76ED51
analogous
#7A51ED #C851ED #ED51C4
triadic
#C851ED #EDC851 #51EDC8
tetradic
#C851ED #ED7A51 #76ED51 #51C4ED
square
#C851ED #ED7A51 #76ED51 #51C4ED
split-complementary
#C851ED #C4ED51 #51ED7A
monochromatic
#8C12B1 #B61AE7 #C851ED #DA88F3 #EBC0F8

Accessibility & contrast

On white

3.59
#C851ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#C851ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C851ED
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C851ED#FFFFFF#000000##000000
##C851ED1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0480F2
Deuteranopia (green-blind)
#558BE9
Tritanopia (blue-blind)
#C66E99
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c851ed;
/* rgb */ color: rgb(200, 81, 237);
/* oklch */ color: oklch(65.4% 0.238 317.2);
Tailwind
colors: {
  custom: {
    50: '#dd8af3',
    500: '#c851ed',
    950: '#000000',
  },
}
SCSS
$custom: #c851ed;
$custom-light: #dd8af3;
$custom-dark: #000000;
JSON
{
  "hex": "#c851ed",
  "rgb": {
    "r": 200,
    "g": 81,
    "b": 237
  },
  "hsl": {
    "h": 285.769,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65389,
    "c": 0.23769,
    "h": 317.2
  },
  "luminance": 0.24279
}

Semantic roles & 50–950 ramp

primary
#C851ED
secondary
#BEE9B0
accent
#DE083B
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#150C17
muted
#847D85

Preview Lab

Preview with #C851ED

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

Preview Lab → · Contrast checker → · Palette generator →

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