#8229C6#8229C6

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

Color values

HEX#8229C6
RGBrgb(130, 41, 198)
HSLhsl(274, 66%, 47%)
HSVhsv(274, 79%, 78%)
CMYKcmyk(34.3%, 79.3%, 0%, 22.4%)
CIE-LABlab(38.57, 63.13, -64.58)
CIE-LCHlch(38.57, 90.31, 314.35°)
OKLaboklab(49.92% 0.1285 -0.1841)
OKLCHoklch(49.92% 0.224 304.9)
XYZxyz(20.1896, 10.4090, 54.3606)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8229C6 #6DC629
analogous
#3429C6 #8229C6 #C629BB
triadic
#8229C6 #C68229 #29C682
tetradic
#8229C6 #C63429 #6DC629 #29BBC6
square
#8229C6 #C63429 #6DC629 #29BBC6
split-complementary
#8229C6 #BBC629 #29C634
monochromatic
#3F1461 #611F93 #8229C6 #9F51DB #BB84E6

Accessibility & contrast

On white

6.81
#8229C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8229C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8229C6
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8229C6#FFFFFF#000000##FFFFFF
##8229C61.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CA
Deuteranopia (green-blind)
#005BC3
Tritanopia (blue-blind)
#755378
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8229c6;
/* rgb */ color: rgb(130, 41, 198);
/* oklch */ color: oklch(49.9% 0.224 304.9);
Tailwind
colors: {
  custom: {
    50: '#ad6ed8',
    500: '#8229c6',
    950: '#000000',
  },
}
SCSS
$custom: #8229c6;
$custom-light: #ad6ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#8229c6",
  "rgb": {
    "r": 130,
    "g": 41,
    "b": 198
  },
  "hsl": {
    "h": 274.013,
    "s": 65.69,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49919,
    "c": 0.22448,
    "h": 304.9
  },
  "luminance": 0.10409
}

Semantic roles & 50–950 ramp

primary
#8229C6
secondary
#A0CF7C
accent
#E93F89
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8229C6

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

Preview Lab → · Contrast checker → · Palette generator →

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