#8251BB#8251BB

#8251BB is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.163 H 302.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8251BB
RGBrgb(130, 81, 187)
HSLhsl(268, 44%, 53%)
HSVhsv(268, 57%, 73%)
CMYKcmyk(30.5%, 56.7%, 0%, 26.7%)
CIE-LABlab(44.54, 41.86, -48.50)
CIE-LCHlch(44.54, 64.06, 310.80°)
OKLaboklab(53.96% 0.0877 -0.137)
OKLCHoklch(53.96% 0.163 302.6)
XYZxyz(21.1159, 14.2185, 48.6361)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8251BB #8ABB51
analogous
#5155BB #8251BB #B751BB
triadic
#8251BB #BB8251 #51BB82
tetradic
#8251BB #BB5155 #8ABB51 #51BBB7
square
#8251BB #BB5155 #8ABB51 #51BBB7
split-complementary
#8251BB #BBB751 #55BB51
monochromatic
#462969 #643A95 #8251BB #A27DCC #C1A9DD

Accessibility & contrast

On white

5.46
#8251BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8251BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8251BB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8251BB#FFFFFF#000000##FFFFFF
##8251BB1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2568BE
Deuteranopia (green-blind)
#3869B9
Tritanopia (blue-blind)
#77667E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8251bb;
/* rgb */ color: rgb(130, 81, 187);
/* oklch */ color: oklch(54.0% 0.163 302.6);
Tailwind
colors: {
  custom: {
    50: '#aa84d0',
    500: '#8251bb',
    950: '#000000',
  },
}
SCSS
$custom: #8251bb;
$custom-light: #aa84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8251bb",
  "rgb": {
    "r": 130,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 267.736,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53962,
    "c": 0.16268,
    "h": 302.6
  },
  "luminance": 0.14219
}

Semantic roles & 50–950 ramp

primary
#8251BB
secondary
#B6CB9D
accent
#D45499
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8251BB

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

Preview Lab → · Contrast checker → · Palette generator →

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