#8251CB#8251CB

#8251CB is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.0% C 0.182 H 298.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8251CB
RGBrgb(130, 81, 203)
HSLhsl(264, 54%, 56%)
HSVhsv(264, 60%, 80%)
CMYKcmyk(36%, 60.1%, 0%, 20.4%)
CIE-LABlab(45.55, 45.92, -56.15)
CIE-LCHlch(45.55, 72.53, 309.27°)
OKLaboklab(55.03% 0.0876 -0.1595)
OKLCHoklch(55.03% 0.182 298.8)
XYZxyz(22.9252, 14.9422, 58.1647)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8251CB #9ACB51
analogous
#515DCB #8251CB #BF51CB
triadic
#8251CB #CB8251 #51CB82
tetradic
#8251CB #CB515D #9ACB51 #51CBBF
square
#8251CB #CB515D #9ACB51 #51CBBF
split-complementary
#8251CB #CBBF51 #5DCB51
monochromatic
#48257C #6433AC #8251CB #A480D9 #C6AFE7

Accessibility & contrast

On white

5.27
#8251CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8251CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8251CB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8251CB#FFFFFF#000000##FFFFFF
##8251CB1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#236BC8
Tritanopia (blue-blind)
#726B86
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8251cb;
/* rgb */ color: rgb(130, 81, 203);
/* oklch */ color: oklch(55.0% 0.182 298.8);
Tailwind
colors: {
  custom: {
    50: '#ab84dc',
    500: '#8251cb',
    950: '#000000',
  },
}
SCSS
$custom: #8251cb;
$custom-light: #ab84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8251cb",
  "rgb": {
    "r": 130,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 264.098,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55025,
    "c": 0.18195,
    "h": 298.8
  },
  "luminance": 0.14942
}

Semantic roles & 50–950 ramp

primary
#8251CB
secondary
#C1D5A3
accent
#DD4AA2
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8251CB

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

Preview Lab → · Contrast checker → · Palette generator →

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