#8227C5#8227C5

#8227C5 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.7% C 0.225 H 305.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8227C5
RGBrgb(130, 39, 197)
HSLhsl(275, 67%, 46%)
HSVhsv(275, 80%, 77%)
CMYKcmyk(34%, 80.2%, 0%, 22.7%)
CIE-LABlab(38.25, 63.60, -64.52)
CIE-LCHlch(38.25, 90.59, 314.59°)
OKLaboklab(49.67% 0.1303 -0.1839)
OKLCHoklch(49.67% 0.225 305.3)
XYZxyz(20.0072, 10.2282, 53.7327)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8227C5 #6AC527
analogous
#3327C5 #8227C5 #C527B9
triadic
#8227C5 #C58227 #27C582
tetradic
#8227C5 #C53327 #6AC527 #27B9C5
square
#8227C5 #C53327 #6AC527 #27B9C5
split-complementary
#8227C5 #B9C527 #27C533
monochromatic
#3F135F #601D92 #8227C5 #9F4DDC #BB80E6

Accessibility & contrast

On white

6.90
#8227C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8227C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8227C5
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8227C5#FFFFFF#000000##FFFFFF
##8227C51.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#755277
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8227c5;
/* rgb */ color: rgb(130, 39, 197);
/* oklch */ color: oklch(49.7% 0.225 305.3);
Tailwind
colors: {
  custom: {
    50: '#ad6dd8',
    500: '#8227c5',
    950: '#000000',
  },
}
SCSS
$custom: #8227c5;
$custom-light: #ad6dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#8227c5",
  "rgb": {
    "r": 130,
    "g": 39,
    "b": 197
  },
  "hsl": {
    "h": 274.557,
    "s": 66.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49673,
    "c": 0.22532,
    "h": 305.3
  },
  "luminance": 0.10228
}

Semantic roles & 50–950 ramp

primary
#8227C5
secondary
#9DCF79
accent
#EA3E87
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110815
muted
#807A83

Preview Lab

Preview with #8227C5

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

Preview Lab → · Contrast checker → · Palette generator →

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