#8229B6#8229B6

#8229B6 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.210 H 309.2°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8229B6
RGBrgb(130, 41, 182)
HSLhsl(278, 63%, 44%)
HSVhsv(278, 77%, 71%)
CMYKcmyk(28.6%, 77.5%, 0%, 28.6%)
CIE-LABlab(37.32, 59.65, -57.22)
CIE-LCHlch(37.32, 82.65, 316.19°)
OKLaboklab(48.65% 0.1323 -0.1624)
OKLCHoklch(48.65% 0.21 309.2)
XYZxyz(18.4406, 9.7095, 45.1496)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8229B6 #5DB629
analogous
#3B29B6 #8229B6 #B629A3
triadic
#8229B6 #B68229 #29B682
tetradic
#8229B6 #B63B29 #5DB629 #29A3B6
square
#8229B6 #B63B29 #5DB629 #29A3B6
split-complementary
#8229B6 #A3B629 #29B63B
monochromatic
#3B1252 #5E1E84 #8229B6 #A147D5 #BA79E1

Accessibility & contrast

On white

7.14
#8229B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8229B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8229B6
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8229B6#FFFFFF#000000##FFFFFF
##8229B61.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8229b6;
/* rgb */ color: rgb(130, 41, 182);
/* oklch */ color: oklch(48.7% 0.210 309.2);
Tailwind
colors: {
  custom: {
    50: '#ab6dcd',
    500: '#8229b6',
    950: '#000000',
  },
}
SCSS
$custom: #8229b6;
$custom-light: #ab6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8229b6",
  "rgb": {
    "r": 130,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 277.872,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48654,
    "c": 0.20951,
    "h": 309.2
  },
  "luminance": 0.09709
}

Semantic roles & 50–950 ramp

primary
#8229B6
secondary
#92C972
accent
#E6427E
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8229B6

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

Preview Lab → · Contrast checker → · Palette generator →

#8229B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva