#8229AF#8229AF

#8229AF is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.203 H 311.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8229AF
RGBrgb(130, 41, 175)
HSLhsl(280, 62%, 42%)
HSVhsv(280, 77%, 69%)
CMYKcmyk(25.7%, 76.6%, 0%, 31.4%)
CIE-LABlab(36.79, 58.16, -53.91)
CIE-LCHlch(36.79, 79.30, 317.17°)
OKLaboklab(48.12% 0.1337 -0.1527)
OKLCHoklch(48.12% 0.203 311.2)
XYZxyz(17.7352, 9.4273, 41.4345)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8229AF #56AF29
analogous
#3F29AF #8229AF #AF2999
triadic
#8229AF #AF8229 #29AF82
tetradic
#8229AF #AF3F29 #56AF29 #2999AF
square
#8229AF #AF3F29 #56AF29 #2999AF
split-complementary
#8229AF #99AF29 #29AF3F
monochromatic
#38124C #5D1D7D #8229AF #A242D3 #BB74DE

Accessibility & contrast

On white

7.28
#8229AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8229AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8229AF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8229AF#FFFFFF#000000##FFFFFF
##8229AF1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0B58AC
Tritanopia (blue-blind)
#7C496B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8229af;
/* rgb */ color: rgb(130, 41, 175);
/* oklch */ color: oklch(48.1% 0.203 311.2);
Tailwind
colors: {
  custom: {
    50: '#ab6dc8',
    500: '#8229af',
    950: '#000000',
  },
}
SCSS
$custom: #8229af;
$custom-light: #ab6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8229af",
  "rgb": {
    "r": 130,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 279.851,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48123,
    "c": 0.20298,
    "h": 311.2
  },
  "luminance": 0.09427
}

Semantic roles & 50–950 ramp

primary
#8229AF
secondary
#8BC66E
accent
#E54379
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8229AF

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

Preview Lab → · Contrast checker → · Palette generator →

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