#851DBC#851DBC

#851DBC is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.6% C 0.226 H 309.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#851DBC
RGBrgb(133, 29, 188)
HSLhsl(279, 73%, 43%)
HSVhsv(279, 85%, 74%)
CMYKcmyk(29.3%, 84.6%, 0%, 26.3%)
CIE-LABlab(36.92, 65.19, -61.38)
CIE-LCHlch(36.92, 89.54, 316.73°)
OKLaboklab(48.62% 0.1437 -0.1745)
OKLCHoklch(48.62% 0.226 309.5)
XYZxyz(19.1875, 9.4965, 48.3894)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851DBC #54BC1D
analogous
#351DBC #851DBC #BC1DA4
triadic
#851DBC #BC851D #1DBC85
tetradic
#851DBC #BC351D #54BC1D #1DA4BC
square
#851DBC #BC351D #54BC1D #1DA4BC
split-complementary
#851DBC #A4BC1D #1DBC35
monochromatic
#3A0D52 #5F1587 #851DBC #A536E0 #BD6BE8

Accessibility & contrast

On white

7.24
#851DBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#851DBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851DBC
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851DBC#FFFFFF#000000##FFFFFF
##851DBC1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#7D4970
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #851dbc;
/* rgb */ color: rgb(133, 29, 188);
/* oklch */ color: oklch(48.6% 0.226 309.5);
Tailwind
colors: {
  custom: {
    50: '#ae69d1',
    500: '#851dbc',
    950: '#000000',
  },
}
SCSS
$custom: #851dbc;
$custom-light: #ae69d1;
$custom-dark: #000000;
JSON
{
  "hex": "#851dbc",
  "rgb": {
    "r": 133,
    "g": 29,
    "b": 188
  },
  "hsl": {
    "h": 279.245,
    "s": 73.272,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48616,
    "c": 0.22603,
    "h": 309.5
  },
  "luminance": 0.09496
}

Semantic roles & 50–950 ramp

primary
#851DBC
secondary
#8ACE67
accent
#F03878
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #851DBC

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

Preview Lab → · Contrast checker → · Palette generator →

#851DBC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva