#8251CE#8251CE

#8251CE is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.2% C 0.186 H 298.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8251CE
RGBrgb(130, 81, 206)
HSLhsl(264, 56%, 56%)
HSVhsv(264, 61%, 81%)
CMYKcmyk(36.9%, 60.7%, 0%, 19.2%)
CIE-LABlab(45.75, 46.69, -57.56)
CIE-LCHlch(45.75, 74.11, 309.05°)
OKLaboklab(55.23% 0.0875 -0.1636)
OKLCHoklch(55.23% 0.186 298.1)
XYZxyz(23.2861, 15.0866, 60.0657)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8251CE #9DCE51
analogous
#515FCE #8251CE #C151CE
triadic
#8251CE #CE8251 #51CE82
tetradic
#8251CE #CE515F #9DCE51 #51CEC1
square
#8251CE #CE515F #9DCE51 #51CEC1
split-complementary
#8251CE #CEC151 #5FCE51
monochromatic
#482480 #6332B0 #8251CE #A481DB #C7B1E9

Accessibility & contrast

On white

5.23
#8251CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8251CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8251CE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8251CE#FFFFFF#000000##FFFFFF
##8251CE1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#1D6BCB
Tritanopia (blue-blind)
#716C88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8251ce;
/* rgb */ color: rgb(130, 81, 206);
/* oklch */ color: oklch(55.2% 0.186 298.1);
Tailwind
colors: {
  custom: {
    50: '#ab84de',
    500: '#8251ce',
    950: '#000000',
  },
}
SCSS
$custom: #8251ce;
$custom-light: #ab84de;
$custom-dark: #000000;
JSON
{
  "hex": "#8251ce",
  "rgb": {
    "r": 130,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 263.52,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55232,
    "c": 0.18553,
    "h": 298.1
  },
  "luminance": 0.15087
}

Semantic roles & 50–950 ramp

primary
#8251CE
secondary
#C3D7A4
accent
#DF48A4
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8251CE

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

Preview Lab → · Contrast checker → · Palette generator →

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