#8438BC#8438BC

#8438BC is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.9% C 0.199 H 307.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8438BC
RGBrgb(132, 56, 188)
HSLhsl(275, 54%, 48%)
HSVhsv(275, 70%, 74%)
CMYKcmyk(29.8%, 70.2%, 0%, 26.3%)
CIE-LABlab(40.19, 55.23, -56.08)
CIE-LCHlch(40.19, 78.71, 314.56°)
OKLaboklab(50.88% 0.1197 -0.1591)
OKLCHoklch(50.88% 0.199 307)
XYZxyz(20.0051, 11.3650, 48.7070)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8438BC #70BC38
analogous
#4238BC #8438BC #BC38B2
triadic
#8438BC #BC8438 #38BC84
tetradic
#8438BC #BC4238 #70BC38 #38B2BC
square
#8438BC #BC4238 #70BC38 #38B2BC
split-complementary
#8438BC #B2BC38 #38BC42
monochromatic
#421C5E #632A8D #8438BC #A161D0 #BD90DE

Accessibility & contrast

On white

6.42
#8438BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8438BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8438BC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8438BC#FFFFFF#000000##FFFFFF
##8438BC1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0D5FB9
Tritanopia (blue-blind)
#7B5676
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8438bc;
/* rgb */ color: rgb(132, 56, 188);
/* oklch */ color: oklch(50.9% 0.199 307.0);
Tailwind
colors: {
  custom: {
    50: '#ac75d1',
    500: '#8438bc',
    950: '#000000',
  },
}
SCSS
$custom: #8438bc;
$custom-light: #ac75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8438bc",
  "rgb": {
    "r": 132,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 274.545,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50883,
    "c": 0.19913,
    "h": 307
  },
  "luminance": 0.11365
}

Semantic roles & 50–950 ramp

primary
#8438BC
secondary
#A3C987
accent
#DD4A89
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8438BC

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

Preview Lab → · Contrast checker → · Palette generator →

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