#8251DD#8251DD

#8251DD is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.3% C 0.203 H 295.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8251DD
RGBrgb(130, 81, 221)
HSLhsl(261, 67%, 59%)
HSVhsv(261, 63%, 87%)
CMYKcmyk(41.2%, 63.3%, 0%, 13.3%)
CIE-LABlab(46.78, 50.60, -64.48)
CIE-LCHlch(46.78, 81.96, 308.12°)
OKLaboklab(56.3% 0.0865 -0.184)
OKLCHoklch(56.3% 0.203 295.2)
XYZxyz(25.1960, 15.8506, 70.1246)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8251DD #ACDD51
analogous
#5166DD #8251DD #C851DD
triadic
#8251DD #DD8251 #51DD82
tetradic
#8251DD #DD5166 #ACDD51 #51DDC8
square
#8251DD #DD5166 #ACDD51 #51DDC8
split-complementary
#8251DD #DDC851 #66DD51
monochromatic
#481D96 #6027C9 #8251DD #A784E7 #CCB7F1

Accessibility & contrast

On white

5.04
#8251DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8251DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8251DD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8251DD#FFFFFF#000000##FFFFFF
##8251DD1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#6A7190
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8251dd;
/* rgb */ color: rgb(130, 81, 221);
/* oklch */ color: oklch(56.3% 0.203 295.2);
Tailwind
colors: {
  custom: {
    50: '#ac84e8',
    500: '#8251dd',
    950: '#000000',
  },
}
SCSS
$custom: #8251dd;
$custom-light: #ac84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8251dd",
  "rgb": {
    "r": 130,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 261,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56301,
    "c": 0.20326,
    "h": 295.2
  },
  "luminance": 0.15851
}

Semantic roles & 50–950 ramp

primary
#8251DD
secondary
#CDE0AA
accent
#EA3EAE
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8251DD

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

Preview Lab → · Contrast checker → · Palette generator →

#8251DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva