#8251DB#8251DB

#8251DB is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.2% C 0.201 H 295.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8251DB
RGBrgb(130, 81, 219)
HSLhsl(261, 66%, 59%)
HSVhsv(261, 63%, 86%)
CMYKcmyk(40.6%, 63%, 0%, 14.1%)
CIE-LABlab(46.64, 50.08, -63.57)
CIE-LCHlch(46.64, 80.92, 308.23°)
OKLaboklab(56.16% 0.0866 -0.1813)
OKLCHoklch(56.16% 0.201 295.5)
XYZxyz(24.9312, 15.7446, 68.7296)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8251DB #AADB51
analogous
#5165DB #8251DB #C751DB
triadic
#8251DB #DB8251 #51DB82
tetradic
#8251DB #DB5165 #AADB51 #51DBC7
square
#8251DB #DB5165 #AADB51 #51DBC7
split-complementary
#8251DB #DBC751 #65DB51
monochromatic
#481E93 #6129C6 #8251DB #A684E5 #CBB6F0

Accessibility & contrast

On white

5.06
#8251DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8251DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8251DB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8251DB#FFFFFF#000000##FFFFFF
##8251DB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#6B718F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8251db;
/* rgb */ color: rgb(130, 81, 219);
/* oklch */ color: oklch(56.2% 0.201 295.5);
Tailwind
colors: {
  custom: {
    50: '#ac84e7',
    500: '#8251db',
    950: '#000000',
  },
}
SCSS
$custom: #8251db;
$custom-light: #ac84e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8251db",
  "rgb": {
    "r": 130,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 261.304,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56155,
    "c": 0.20092,
    "h": 295.5
  },
  "luminance": 0.15745
}

Semantic roles & 50–950 ramp

primary
#8251DB
secondary
#CCDFA9
accent
#E93FAC
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8251DB

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

Preview Lab → · Contrast checker → · Palette generator →

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