#8251D0#8251D0

#8251D0 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.4% C 0.188 H 297.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8251D0
RGBrgb(130, 81, 208)
HSLhsl(263, 57%, 57%)
HSVhsv(263, 61%, 82%)
CMYKcmyk(37.5%, 61.1%, 0%, 18.4%)
CIE-LABlab(45.89, 47.21, -58.49)
CIE-LCHlch(45.89, 75.17, 308.91°)
OKLaboklab(55.37% 0.0874 -0.1664)
OKLCHoklch(55.37% 0.188 297.7)
XYZxyz(23.5306, 15.1844, 61.3534)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8251D0 #9FD051
analogous
#5160D0 #8251D0 #C251D0
triadic
#8251D0 #D08251 #51D082
tetradic
#8251D0 #D05160 #9FD051 #51D0C2
square
#8251D0 #D05160 #9FD051 #51D0C2
split-complementary
#8251D0 #D0C251 #60D051
monochromatic
#482383 #6330B3 #8251D0 #A581DD #C7B1EA

Accessibility & contrast

On white

5.20
#8251D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8251D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8251D0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8251D0#FFFFFF#000000##FFFFFF
##8251D01.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD4
Deuteranopia (green-blind)
#186BCD
Tritanopia (blue-blind)
#706D89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8251d0;
/* rgb */ color: rgb(130, 81, 208);
/* oklch */ color: oklch(55.4% 0.188 297.7);
Tailwind
colors: {
  custom: {
    50: '#ab84df',
    500: '#8251d0',
    950: '#000000',
  },
}
SCSS
$custom: #8251d0;
$custom-light: #ab84df;
$custom-dark: #000000;
JSON
{
  "hex": "#8251d0",
  "rgb": {
    "r": 130,
    "g": 81,
    "b": 208
  },
  "hsl": {
    "h": 263.15,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55371,
    "c": 0.18791,
    "h": 297.7
  },
  "luminance": 0.15185
}

Semantic roles & 50–950 ramp

primary
#8251D0
secondary
#C4D8A4
accent
#E147A5
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8251D0

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

Preview Lab → · Contrast checker → · Palette generator →

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