#8228B7#8228B7

#8228B7 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.6% C 0.211 H 309.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8228B7
RGBrgb(130, 40, 183)
HSLhsl(278, 64%, 44%)
HSVhsv(278, 78%, 72%)
CMYKcmyk(29%, 78.1%, 0%, 28.2%)
CIE-LABlab(37.27, 60.22, -57.89)
CIE-LCHlch(37.27, 83.53, 316.13°)
OKLaboklab(48.64% 0.133 -0.1644)
OKLCHoklch(48.64% 0.211 309)
XYZxyz(18.5102, 9.6826, 45.6844)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8228B7 #5DB728
analogous
#3A28B7 #8228B7 #B728A4
triadic
#8228B7 #B78228 #28B782
tetradic
#8228B7 #B73A28 #5DB728 #28A4B7
square
#8228B7 #B73A28 #5DB728 #28A4B7
split-complementary
#8228B7 #A4B728 #28B73A
monochromatic
#3B1253 #5E1D85 #8228B7 #A146D6 #BA78E1

Accessibility & contrast

On white

7.15
#8228B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8228B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8228B7
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8228B7#FFFFFF#000000##FFFFFF
##8228B71.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0059B4
Tritanopia (blue-blind)
#7A4C6F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8228b7;
/* rgb */ color: rgb(130, 40, 183);
/* oklch */ color: oklch(48.6% 0.211 309.0);
Tailwind
colors: {
  custom: {
    50: '#ac6dcd',
    500: '#8228b7',
    950: '#000000',
  },
}
SCSS
$custom: #8228b7;
$custom-light: #ac6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8228b7",
  "rgb": {
    "r": 130,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 277.762,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48643,
    "c": 0.21142,
    "h": 309
  },
  "luminance": 0.09682
}

Semantic roles & 50–950 ramp

primary
#8228B7
secondary
#92C972
accent
#E7417E
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8228B7

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

Preview Lab → · Contrast checker → · Palette generator →

#8228B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva