#8229C5#8229C5

#8229C5 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.8% C 0.224 H 305.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8229C5
RGBrgb(130, 41, 197)
HSLhsl(274, 66%, 47%)
HSVhsv(274, 79%, 77%)
CMYKcmyk(34%, 79.2%, 0%, 22.7%)
CIE-LABlab(38.49, 62.91, -64.13)
CIE-LCHlch(38.49, 89.83, 314.45°)
OKLaboklab(49.84% 0.1288 -0.1827)
OKLCHoklch(49.84% 0.224 305.2)
XYZxyz(20.0746, 10.3630, 53.7552)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8229C5 #6CC529
analogous
#3429C5 #8229C5 #C529BA
triadic
#8229C5 #C58229 #29C582
tetradic
#8229C5 #C53429 #6CC529 #29BAC5
square
#8229C5 #C53429 #6CC529 #29BAC5
split-complementary
#8229C5 #BAC529 #29C534
monochromatic
#3F1460 #611E92 #8229C5 #9F51DB #BB83E5

Accessibility & contrast

On white

6.83
#8229C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8229C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8229C5
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8229C5#FFFFFF#000000##FFFFFF
##8229C51.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#755377
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8229c5;
/* rgb */ color: rgb(130, 41, 197);
/* oklch */ color: oklch(49.8% 0.224 305.2);
Tailwind
colors: {
  custom: {
    50: '#ad6ed8',
    500: '#8229c5',
    950: '#000000',
  },
}
SCSS
$custom: #8229c5;
$custom-light: #ad6ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#8229c5",
  "rgb": {
    "r": 130,
    "g": 41,
    "b": 197
  },
  "hsl": {
    "h": 274.231,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49838,
    "c": 0.22354,
    "h": 305.2
  },
  "luminance": 0.10363
}

Semantic roles & 50–950 ramp

primary
#8229C5
secondary
#9FCE7C
accent
#E83F88
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #8229C5

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

Preview Lab → · Contrast checker → · Palette generator →

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