#8229B7#8229B7

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

Color values

HEX#8229B7
RGBrgb(130, 41, 183)
HSLhsl(278, 63%, 44%)
HSVhsv(278, 78%, 72%)
CMYKcmyk(29%, 77.6%, 0%, 28.2%)
CIE-LABlab(37.39, 59.86, -57.68)
CIE-LCHlch(37.39, 83.13, 316.06°)
OKLaboklab(48.73% 0.1321 -0.1638)
OKLCHoklch(48.73% 0.21 308.9)
XYZxyz(18.5443, 9.7509, 45.6958)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8229B7 #5EB729
analogous
#3B29B7 #8229B7 #B729A5
triadic
#8229B7 #B78229 #29B782
tetradic
#8229B7 #B73B29 #5EB729 #29A5B7
square
#8229B7 #B73B29 #5EB729 #29A5B7
split-complementary
#8229B7 #A5B729 #29B73B
monochromatic
#3B1353 #5E1E85 #8229B7 #A147D6 #BA79E1

Accessibility & contrast

On white

7.12
#8229B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8229B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8229B7
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8229B7#FFFFFF#000000##FFFFFF
##8229B71.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8229b7;
/* rgb */ color: rgb(130, 41, 183);
/* oklch */ color: oklch(48.7% 0.210 308.9);
Tailwind
colors: {
  custom: {
    50: '#ab6dcd',
    500: '#8229b7',
    950: '#000000',
  },
}
SCSS
$custom: #8229b7;
$custom-light: #ab6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8229b7",
  "rgb": {
    "r": 130,
    "g": 41,
    "b": 183
  },
  "hsl": {
    "h": 277.606,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48731,
    "c": 0.21044,
    "h": 308.9
  },
  "luminance": 0.09751
}

Semantic roles & 50–950 ramp

primary
#8229B7
secondary
#93C973
accent
#E6417F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8229B7

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

Preview Lab → · Contrast checker → · Palette generator →

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