#851F94#851F94

#851F94 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.190 H 322.1°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#851F94
RGBrgb(133, 31, 148)
HSLhsl(292, 65%, 35%)
HSVhsv(292, 79%, 58%)
CMYKcmyk(10.1%, 79.1%, 0%, 42%)
CIE-LABlab(34.20, 56.83, -41.77)
CIE-LCHlch(34.20, 70.53, 323.69°)
OKLaboklab(45.79% 0.1503 -0.1169)
OKLCHoklch(45.79% 0.19 322.1)
XYZxyz(15.5076, 8.1055, 28.7589)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851F94 #2E941F
analogous
#4B1F94 #851F94 #941F68
triadic
#851F94 #94851F #1F9485
tetradic
#851F94 #944B1F #2E941F #1F6894
square
#851F94 #944B1F #2E941F #1F6894
split-complementary
#851F94 #68941F #1F944B
monochromatic
#2A0A2F #581461 #851F94 #B22AC7 #C953DB

Accessibility & contrast

On white

8.01
#851F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#851F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851F94
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851F94#FFFFFF#000000##FFFFFF
##851F941.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#315491
Tritanopia (blue-blind)
#873759
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #851f94;
/* rgb */ color: rgb(133, 31, 148);
/* oklch */ color: oklch(45.8% 0.190 322.1);
Tailwind
colors: {
  custom: {
    50: '#ac68b4',
    500: '#851f94',
    950: '#000000',
  },
}
SCSS
$custom: #851f94;
$custom-light: #ac68b4;
$custom-dark: #000000;
JSON
{
  "hex": "#851f94",
  "rgb": {
    "r": 133,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 292.308,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45792,
    "c": 0.19038,
    "h": 322.1
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#851F94
secondary
#5FBE51
accent
#E83F55
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #851F94

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

Preview Lab → · Contrast checker → · Palette generator →

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