#8229B2#8229B2

#8229B2 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.206 H 310.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8229B2
RGBrgb(130, 41, 178)
HSLhsl(279, 63%, 43%)
HSVhsv(279, 77%, 70%)
CMYKcmyk(27%, 77%, 0%, 30.2%)
CIE-LABlab(37.02, 58.79, -55.33)
CIE-LCHlch(37.02, 80.73, 316.74°)
OKLaboklab(48.35% 0.1332 -0.1569)
OKLCHoklch(48.35% 0.206 310.3)
XYZxyz(18.0332, 9.5465, 43.0035)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8229B2 #59B229
analogous
#3D29B2 #8229B2 #B2299D
triadic
#8229B2 #B28229 #29B282
tetradic
#8229B2 #B23D29 #59B229 #299DB2
square
#8229B2 #B23D29 #59B229 #299DB2
split-complementary
#8229B2 #9DB229 #29B23D
monochromatic
#39124F #5E1E80 #8229B2 #A244D4 #BA76DF

Accessibility & contrast

On white

7.22
#8229B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8229B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8229B2
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8229B2#FFFFFF#000000##FFFFFF
##8229B21.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8229b2;
/* rgb */ color: rgb(130, 41, 178);
/* oklch */ color: oklch(48.3% 0.206 310.3);
Tailwind
colors: {
  custom: {
    50: '#ab6dca',
    500: '#8229b2',
    950: '#000000',
  },
}
SCSS
$custom: #8229b2;
$custom-light: #ab6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#8229b2",
  "rgb": {
    "r": 130,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 278.978,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48349,
    "c": 0.20578,
    "h": 310.3
  },
  "luminance": 0.09546
}

Semantic roles & 50–950 ramp

primary
#8229B2
secondary
#8EC770
accent
#E6427B
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8229B2

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

Preview Lab → · Contrast checker → · Palette generator →

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