#8251DF#8251DF

#8251DF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.4% C 0.206 H 294.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8251DF
RGBrgb(130, 81, 223)
HSLhsl(261, 69%, 60%)
HSVhsv(261, 64%, 87%)
CMYKcmyk(41.7%, 63.7%, 0%, 12.5%)
CIE-LABlab(46.92, 51.13, -65.39)
CIE-LCHlch(46.92, 83.00, 308.02°)
OKLaboklab(56.45% 0.0863 -0.1866)
OKLCHoklch(56.45% 0.206 294.8)
XYZxyz(25.4641, 15.9578, 71.5363)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8251DF #AEDF51
analogous
#5167DF #8251DF #C951DF
triadic
#8251DF #DF8251 #51DF82
tetradic
#8251DF #DF5167 #AEDF51 #51DFC9
square
#8251DF #DF5167 #AEDF51 #51DFC9
split-complementary
#8251DF #DFC951 #67DF51
monochromatic
#471C99 #5F26CD #8251DF #A785E9 #CCB8F2

Accessibility & contrast

On white

5.01
#8251DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8251DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8251DF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8251DF#FFFFFF#000000##FFFFFF
##8251DF1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#006DDC
Tritanopia (blue-blind)
#697291
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8251df;
/* rgb */ color: rgb(130, 81, 223);
/* oklch */ color: oklch(56.4% 0.206 294.8);
Tailwind
colors: {
  custom: {
    50: '#ad84ea',
    500: '#8251df',
    950: '#000000',
  },
}
SCSS
$custom: #8251df;
$custom-light: #ad84ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8251df",
  "rgb": {
    "r": 130,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 260.704,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56448,
    "c": 0.20561,
    "h": 294.8
  },
  "luminance": 0.15958
}

Semantic roles & 50–950 ramp

primary
#8251DF
secondary
#CEE1AA
accent
#EC3CAF
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8251DF

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

Preview Lab → · Contrast checker → · Palette generator →

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