#8251DA#8251DA

#8251DA is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.200 H 295.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8251DA
RGBrgb(130, 81, 218)
HSLhsl(261, 65%, 59%)
HSVhsv(261, 63%, 85%)
CMYKcmyk(40.4%, 62.8%, 0%, 14.5%)
CIE-LABlab(46.57, 49.81, -63.11)
CIE-LCHlch(46.57, 80.40, 308.28°)
OKLaboklab(56.08% 0.0867 -0.1799)
OKLCHoklch(56.08% 0.2 295.7)
XYZxyz(24.7999, 15.6921, 68.0383)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8251DA #A9DA51
analogous
#5164DA #8251DA #C651DA
triadic
#8251DA #DA8251 #51DA82
tetradic
#8251DA #DA5164 #A9DA51 #51DAC6
square
#8251DA #DA5164 #A9DA51 #51DAC6
split-complementary
#8251DA #DAC651 #64DA51
monochromatic
#481F92 #612AC4 #8251DA #A683E5 #CBB6EF

Accessibility & contrast

On white

5.07
#8251DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8251DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8251DA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8251DA#FFFFFF#000000##FFFFFF
##8251DA1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#006CD7
Tritanopia (blue-blind)
#6C708E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8251da;
/* rgb */ color: rgb(130, 81, 218);
/* oklch */ color: oklch(56.1% 0.200 295.7);
Tailwind
colors: {
  custom: {
    50: '#ac84e6',
    500: '#8251da',
    950: '#000000',
  },
}
SCSS
$custom: #8251da;
$custom-light: #ac84e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8251da",
  "rgb": {
    "r": 130,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 261.46,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56083,
    "c": 0.19975,
    "h": 295.7
  },
  "luminance": 0.15693
}

Semantic roles & 50–950 ramp

primary
#8251DA
secondary
#CBDEA8
accent
#E840AC
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8251DA

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

Preview Lab → · Contrast checker → · Palette generator →

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