#8229B4#8229B4

#8229B4 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.5% C 0.208 H 309.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8229B4
RGBrgb(130, 41, 180)
HSLhsl(278, 63%, 43%)
HSVhsv(278, 77%, 71%)
CMYKcmyk(27.8%, 77.2%, 0%, 29.4%)
CIE-LABlab(37.17, 59.22, -56.28)
CIE-LCHlch(37.17, 81.69, 316.46°)
OKLaboklab(48.5% 0.1328 -0.1597)
OKLCHoklch(48.5% 0.208 309.7)
XYZxyz(18.2354, 9.6274, 44.0688)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8229B4 #5BB429
analogous
#3C29B4 #8229B4 #B429A0
triadic
#8229B4 #B48229 #29B482
tetradic
#8229B4 #B43C29 #5BB429 #29A0B4
square
#8229B4 #B43C29 #5BB429 #29A0B4
split-complementary
#8229B4 #A0B429 #29B43C
monochromatic
#3A1250 #5E1E82 #8229B4 #A145D5 #BA77E0

Accessibility & contrast

On white

7.18
#8229B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8229B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8229B4
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8229B4#FFFFFF#000000##FFFFFF
##8229B41.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0059B1
Tritanopia (blue-blind)
#7B4B6E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8229b4;
/* rgb */ color: rgb(130, 41, 180);
/* oklch */ color: oklch(48.5% 0.208 309.7);
Tailwind
colors: {
  custom: {
    50: '#ab6dcb',
    500: '#8229b4',
    950: '#000000',
  },
}
SCSS
$custom: #8229b4;
$custom-light: #ab6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8229b4",
  "rgb": {
    "r": 130,
    "g": 41,
    "b": 180
  },
  "hsl": {
    "h": 278.417,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48501,
    "c": 0.20765,
    "h": 309.7
  },
  "luminance": 0.09627
}

Semantic roles & 50–950 ramp

primary
#8229B4
secondary
#90C871
accent
#E6427D
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8229B4

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

Preview Lab → · Contrast checker → · Palette generator →

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