#8238AC#8238AC

#8238AC is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.5% C 0.182 H 310.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8238AC
RGBrgb(130, 56, 172)
HSLhsl(278, 51%, 45%)
HSVhsv(278, 67%, 67%)
CMYKcmyk(24.4%, 67.4%, 0%, 32.5%)
CIE-LABlab(38.82, 51.20, -48.85)
CIE-LCHlch(38.82, 70.77, 316.34°)
OKLaboklab(49.5% 0.1189 -0.1379)
OKLCHoklch(49.5% 0.182 310.8)
XYZxyz(18.0651, 10.5531, 40.1070)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8238AC #62AC38
analogous
#4838AC #8238AC #AC389C
triadic
#8238AC #AC8238 #38AC82
tetradic
#8238AC #AC4838 #62AC38 #389CAC
square
#8238AC #AC4838 #62AC38 #389CAC
split-complementary
#8238AC #9CAC38 #38AC48
monochromatic
#3C1A50 #5F297E #8238AC #A058C9 #BA87D8

Accessibility & contrast

On white

6.75
#8238AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8238AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8238AC
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8238AC#FFFFFF#000000##FFFFFF
##8238AC1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#295DA9
Tritanopia (blue-blind)
#7D506D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8238ac;
/* rgb */ color: rgb(130, 56, 172);
/* oklch */ color: oklch(49.5% 0.182 310.8);
Tailwind
colors: {
  custom: {
    50: '#aa74c5',
    500: '#8238ac',
    950: '#000000',
  },
}
SCSS
$custom: #8238ac;
$custom-light: #aa74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8238ac",
  "rgb": {
    "r": 130,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 278.276,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49496,
    "c": 0.1821,
    "h": 310.8
  },
  "luminance": 0.10553
}

Semantic roles & 50–950 ramp

primary
#8238AC
secondary
#97C27E
accent
#DA4D80
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8238AC

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

Preview Lab → · Contrast checker → · Palette generator →

#8238AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva