#8251CD#8251CD

#8251CD is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.2% C 0.184 H 298.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8251CD
RGBrgb(130, 81, 205)
HSLhsl(264, 55%, 56%)
HSVhsv(264, 60%, 80%)
CMYKcmyk(36.6%, 60.5%, 0%, 19.6%)
CIE-LABlab(45.69, 46.43, -57.09)
CIE-LCHlch(45.69, 73.59, 309.12°)
OKLaboklab(55.16% 0.0875 -0.1622)
OKLCHoklch(55.16% 0.184 298.3)
XYZxyz(23.1650, 15.0382, 59.4280)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8251CD #9CCD51
analogous
#515ECD #8251CD #C051CD
triadic
#8251CD #CD8251 #51CD82
tetradic
#8251CD #CD515E #9CCD51 #51CDC0
square
#8251CD #CD515E #9CCD51 #51CDC0
split-complementary
#8251CD #CDC051 #5ECD51
monochromatic
#48257F #6332AF #8251CD #A481DB #C6B0E8

Accessibility & contrast

On white

5.24
#8251CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8251CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8251CD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8251CD#FFFFFF#000000##FFFFFF
##8251CD1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#1F6BCA
Tritanopia (blue-blind)
#716C87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8251cd;
/* rgb */ color: rgb(130, 81, 205);
/* oklch */ color: oklch(55.2% 0.184 298.3);
Tailwind
colors: {
  custom: {
    50: '#ab84dd',
    500: '#8251cd',
    950: '#000000',
  },
}
SCSS
$custom: #8251cd;
$custom-light: #ab84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8251cd",
  "rgb": {
    "r": 130,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 263.71,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55162,
    "c": 0.18433,
    "h": 298.3
  },
  "luminance": 0.15038
}

Semantic roles & 50–950 ramp

primary
#8251CD
secondary
#C2D7A3
accent
#DF49A4
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8251CD

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

Preview Lab → · Contrast checker → · Palette generator →

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