#8438BA#8438BA

#8438BA is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.7% C 0.197 H 307.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8438BA
RGBrgb(132, 56, 186)
HSLhsl(275, 54%, 47%)
HSVhsv(275, 70%, 73%)
CMYKcmyk(29%, 69.9%, 0%, 27.1%)
CIE-LABlab(40.05, 54.77, -55.14)
CIE-LCHlch(40.05, 77.72, 314.81°)
OKLaboklab(50.74% 0.12 -0.1563)
OKLCHoklch(50.74% 0.197 307.5)
XYZxyz(19.7910, 11.2793, 47.5794)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8438BA #6EBA38
analogous
#4338BA #8438BA #BA38AF
triadic
#8438BA #BA8438 #38BA84
tetradic
#8438BA #BA4338 #6EBA38 #38AFBA
square
#8438BA #BA4338 #6EBA38 #38AFBA
split-complementary
#8438BA #AFBA38 #38BA43
monochromatic
#411C5C #632A8B #8438BA #A160CF #BD8FDD

Accessibility & contrast

On white

6.45
#8438BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8438BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8438BA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8438BA#FFFFFF#000000##FFFFFF
##8438BA1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#145FB7
Tritanopia (blue-blind)
#7B5575
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8438ba;
/* rgb */ color: rgb(132, 56, 186);
/* oklch */ color: oklch(50.7% 0.197 307.5);
Tailwind
colors: {
  custom: {
    50: '#ac75cf',
    500: '#8438ba',
    950: '#000000',
  },
}
SCSS
$custom: #8438ba;
$custom-light: #ac75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8438ba",
  "rgb": {
    "r": 132,
    "g": 56,
    "b": 186
  },
  "hsl": {
    "h": 275.077,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50737,
    "c": 0.19709,
    "h": 307.5
  },
  "luminance": 0.11279
}

Semantic roles & 50–950 ramp

primary
#8438BA
secondary
#A1C886
accent
#DD4B88
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8438BA

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

Preview Lab → · Contrast checker → · Palette generator →

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