#8229BA#8229BA

#8229BA is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.0% C 0.213 H 308.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8229BA
RGBrgb(130, 41, 186)
HSLhsl(277, 64%, 45%)
HSVhsv(277, 78%, 73%)
CMYKcmyk(30.1%, 78%, 0%, 27.1%)
CIE-LABlab(37.62, 60.51, -59.08)
CIE-LCHlch(37.62, 84.57, 315.68°)
OKLaboklab(48.96% 0.1315 -0.1679)
OKLCHoklch(48.96% 0.213 308.1)
XYZxyz(18.8599, 9.8772, 47.3578)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8229BA #61BA29
analogous
#3A29BA #8229BA #BA29AA
triadic
#8229BA #BA8229 #29BA82
tetradic
#8229BA #BA3A29 #61BA29 #29AABA
square
#8229BA #BA3A29 #61BA29 #29AABA
split-complementary
#8229BA #AABA29 #29BA3A
monochromatic
#3C1356 #5F1E88 #8229BA #A049D7 #BA7BE2

Accessibility & contrast

On white

7.06
#8229BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8229BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8229BA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8229BA#FFFFFF#000000##FFFFFF
##8229BA1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#794E71
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8229ba;
/* rgb */ color: rgb(130, 41, 186);
/* oklch */ color: oklch(49.0% 0.213 308.1);
Tailwind
colors: {
  custom: {
    50: '#ac6dd0',
    500: '#8229ba',
    950: '#000000',
  },
}
SCSS
$custom: #8229ba;
$custom-light: #ac6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8229ba",
  "rgb": {
    "r": 130,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 276.828,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48963,
    "c": 0.21324,
    "h": 308.1
  },
  "luminance": 0.09877
}

Semantic roles & 50–950 ramp

primary
#8229BA
secondary
#96CA75
accent
#E74181
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8229BA

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

Preview Lab → · Contrast checker → · Palette generator →

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