#8251D6#8251D6

#8251D6 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.8% C 0.195 H 296.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8251D6
RGBrgb(130, 81, 214)
HSLhsl(262, 62%, 58%)
HSVhsv(262, 62%, 84%)
CMYKcmyk(39.3%, 62.1%, 0%, 16.1%)
CIE-LABlab(46.29, 48.77, -61.27)
CIE-LCHlch(46.29, 78.31, 308.52°)
OKLaboklab(55.79% 0.087 -0.1745)
OKLCHoklch(55.79% 0.195 296.5)
XYZxyz(24.2828, 15.4853, 65.3149)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8251D6 #A5D651
analogous
#5163D6 #8251D6 #C451D6
triadic
#8251D6 #D68251 #51D682
tetradic
#8251D6 #D65163 #A5D651 #51D6C4
square
#8251D6 #D65163 #A5D651 #51D6C4
split-complementary
#8251D6 #D6C451 #63D651
monochromatic
#48218C #622DBD #8251D6 #A683E2 #C9B4ED

Accessibility & contrast

On white

5.13
#8251D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8251D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8251D6
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8251D6#FFFFFF#000000##FFFFFF
##8251D61.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#006CD3
Tritanopia (blue-blind)
#6D6F8C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8251d6;
/* rgb */ color: rgb(130, 81, 214);
/* oklch */ color: oklch(55.8% 0.195 296.5);
Tailwind
colors: {
  custom: {
    50: '#ac84e3',
    500: '#8251d6',
    950: '#000000',
  },
}
SCSS
$custom: #8251d6;
$custom-light: #ac84e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8251d6",
  "rgb": {
    "r": 130,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 262.105,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55795,
    "c": 0.19502,
    "h": 296.5
  },
  "luminance": 0.15486
}

Semantic roles & 50–950 ramp

primary
#8251D6
secondary
#C8DCA7
accent
#E543A9
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8251D6

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

Preview Lab → · Contrast checker → · Palette generator →

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