#8227B2#8227B2

#8227B2 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.2% C 0.208 H 310.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8227B2
RGBrgb(130, 39, 178)
HSLhsl(279, 64%, 43%)
HSVhsv(279, 78%, 70%)
CMYKcmyk(27%, 78.1%, 0%, 30.2%)
CIE-LABlab(36.77, 59.51, -55.74)
CIE-LCHlch(36.77, 81.54, 316.88°)
OKLaboklab(48.17% 0.1349 -0.1581)
OKLCHoklch(48.17% 0.208 310.5)
XYZxyz(17.9657, 9.4116, 42.9811)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8227B2 #57B227
analogous
#3D27B2 #8227B2 #B2279C
triadic
#8227B2 #B28227 #27B282
tetradic
#8227B2 #B23D27 #57B227 #279CB2
square
#8227B2 #B23D27 #57B227 #279CB2
split-complementary
#8227B2 #9CB227 #27B23D
monochromatic
#39114E #5D1C80 #8227B2 #A241D5 #BB73E0

Accessibility & contrast

On white

7.29
#8227B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8227B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8227B2
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8227B2#FFFFFF#000000##FFFFFF
##8227B21.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0058AF
Tritanopia (blue-blind)
#7B496C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8227b2;
/* rgb */ color: rgb(130, 39, 178);
/* oklch */ color: oklch(48.2% 0.208 310.5);
Tailwind
colors: {
  custom: {
    50: '#ab6cca',
    500: '#8227b2',
    950: '#000000',
  },
}
SCSS
$custom: #8227b2;
$custom-light: #ab6cca;
$custom-dark: #000000;
JSON
{
  "hex": "#8227b2",
  "rgb": {
    "r": 130,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 279.281,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48172,
    "c": 0.20779,
    "h": 310.5
  },
  "luminance": 0.09411
}

Semantic roles & 50–950 ramp

primary
#8227B2
secondary
#8CC86D
accent
#E7417A
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8227B2

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

Preview Lab → · Contrast checker → · Palette generator →

#8227B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva