#8438AC#8438AC

#8438AC is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.8% C 0.183 H 311.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8438AC
RGBrgb(132, 56, 172)
HSLhsl(279, 51%, 45%)
HSVhsv(279, 67%, 67%)
CMYKcmyk(23.3%, 67.4%, 0%, 32.5%)
CIE-LABlab(39.09, 51.64, -48.40)
CIE-LCHlch(39.09, 70.78, 316.86°)
OKLaboklab(49.75% 0.1215 -0.1365)
OKLCHoklch(49.75% 0.183 311.7)
XYZxyz(18.3749, 10.7129, 40.1216)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8438AC #60AC38
analogous
#4A38AC #8438AC #AC389A
triadic
#8438AC #AC8438 #38AC84
tetradic
#8438AC #AC4A38 #60AC38 #389AAC
square
#8438AC #AC4A38 #60AC38 #389AAC
split-complementary
#8438AC #9AAC38 #38AC4A
monochromatic
#3D1A50 #61297E #8438AC #A258C9 #BC87D8

Accessibility & contrast

On white

6.68
#8438AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8438AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8438AC
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8438AC#FFFFFF#000000##FFFFFF
##8438AC1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#2C5EA9
Tritanopia (blue-blind)
#7F506D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8438ac;
/* rgb */ color: rgb(132, 56, 172);
/* oklch */ color: oklch(49.8% 0.183 311.7);
Tailwind
colors: {
  custom: {
    50: '#ab74c5',
    500: '#8438ac',
    950: '#000000',
  },
}
SCSS
$custom: #8438ac;
$custom-light: #ab74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8438ac",
  "rgb": {
    "r": 132,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 279.31,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49751,
    "c": 0.18277,
    "h": 311.7
  },
  "luminance": 0.10712
}

Semantic roles & 50–950 ramp

primary
#8438AC
secondary
#95C27E
accent
#DA4D7E
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8438AC

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

Preview Lab → · Contrast checker → · Palette generator →

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