#8228B3#8228B3

#8228B3 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.208 H 310.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8228B3
RGBrgb(130, 40, 179)
HSLhsl(279, 63%, 43%)
HSVhsv(279, 78%, 70%)
CMYKcmyk(27.4%, 77.7%, 0%, 29.8%)
CIE-LABlab(36.96, 59.37, -56.01)
CIE-LCHlch(36.96, 81.62, 316.67°)
OKLaboklab(48.34% 0.1338 -0.1589)
OKLCHoklch(48.34% 0.208 310.1)
XYZxyz(18.0998, 9.5185, 43.5229)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8228B3 #59B328
analogous
#3D28B3 #8228B3 #B3289E
triadic
#8228B3 #B38228 #28B382
tetradic
#8228B3 #B33D28 #59B328 #289EB3
square
#8228B3 #B33D28 #59B328 #289EB3
split-complementary
#8228B3 #9EB328 #28B33D
monochromatic
#39124F #5E1D81 #8228B3 #A243D5 #BA75E0

Accessibility & contrast

On white

7.23
#8228B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8228B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8228B3
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8228B3#FFFFFF#000000##FFFFFF
##8228B31.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#7B4A6D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8228b3;
/* rgb */ color: rgb(130, 40, 179);
/* oklch */ color: oklch(48.3% 0.208 310.1);
Tailwind
colors: {
  custom: {
    50: '#ab6ccb',
    500: '#8228b3',
    950: '#000000',
  },
}
SCSS
$custom: #8228b3;
$custom-light: #ab6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#8228b3",
  "rgb": {
    "r": 130,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 278.849,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48336,
    "c": 0.20773,
    "h": 310.1
  },
  "luminance": 0.09518
}

Semantic roles & 50–950 ramp

primary
#8228B3
secondary
#8EC86F
accent
#E6417C
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8228B3

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

Preview Lab → · Contrast checker → · Palette generator →

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