#8251CA#8251CA

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

Color values

HEX#8251CA
RGBrgb(130, 81, 202)
HSLhsl(264, 53%, 55%)
HSVhsv(264, 60%, 79%)
CMYKcmyk(35.6%, 59.9%, 0%, 20.8%)
CIE-LABlab(45.49, 45.66, -55.68)
CIE-LCHlch(45.49, 72.01, 309.35°)
OKLaboklab(54.96% 0.0876 -0.1581)
OKLCHoklch(54.96% 0.181 299)
XYZxyz(22.8064, 14.8947, 57.5391)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8251CA #99CA51
analogous
#515CCA #8251CA #BF51CA
triadic
#8251CA #CA8251 #51CA82
tetradic
#8251CA #CA515C #99CA51 #51CABF
square
#8251CA #CA515C #99CA51 #51CABF
split-complementary
#8251CA #CABF51 #5CCA51
monochromatic
#48257B #6434AA #8251CA #A480D8 #C5AFE7

Accessibility & contrast

On white

5.28
#8251CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8251CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8251CA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8251CA#FFFFFF#000000##FFFFFF
##8251CA1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCE
Deuteranopia (green-blind)
#256BC7
Tritanopia (blue-blind)
#726B86
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8251ca;
/* rgb */ color: rgb(130, 81, 202);
/* oklch */ color: oklch(55.0% 0.181 299.0);
Tailwind
colors: {
  custom: {
    50: '#ab84db',
    500: '#8251ca',
    950: '#000000',
  },
}
SCSS
$custom: #8251ca;
$custom-light: #ab84db;
$custom-dark: #000000;
JSON
{
  "hex": "#8251ca",
  "rgb": {
    "r": 130,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 264.298,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54956,
    "c": 0.18075,
    "h": 299
  },
  "luminance": 0.14895
}

Semantic roles & 50–950 ramp

primary
#8251CA
secondary
#C0D5A2
accent
#DD4BA2
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8251CA

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

Preview Lab → · Contrast checker → · Palette generator →

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