#8438C6#8438C6

#8438C6 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.209 H 304.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8438C6
RGBrgb(132, 56, 198)
HSLhsl(272, 56%, 50%)
HSVhsv(272, 72%, 78%)
CMYKcmyk(33.3%, 71.7%, 0%, 22.4%)
CIE-LABlab(40.91, 57.53, -60.75)
CIE-LCHlch(40.91, 83.66, 313.44°)
OKLaboklab(51.63% 0.1182 -0.1728)
OKLCHoklch(51.63% 0.209 304.4)
XYZxyz(21.1206, 11.8112, 54.5822)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8438C6 #7AC638
analogous
#3D38C6 #8438C6 #C638C1
triadic
#8438C6 #C68438 #38C684
tetradic
#8438C6 #C63D38 #7AC638 #38C1C6
square
#8438C6 #C63D38 #7AC638 #38C1C6
split-complementary
#8438C6 #C1C638 #38C63D
monochromatic
#441D67 #642B96 #8438C6 #A167D4 #BF97E2

Accessibility & contrast

On white

6.25
#8438C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8438C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8438C6
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8438C6#FFFFFF#000000##FFFFFF
##8438C61.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#775A7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8438c6;
/* rgb */ color: rgb(132, 56, 198);
/* oklch */ color: oklch(51.6% 0.209 304.4);
Tailwind
colors: {
  custom: {
    50: '#ad75d8',
    500: '#8438c6',
    950: '#000000',
  },
}
SCSS
$custom: #8438c6;
$custom-light: #ad75d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8438c6",
  "rgb": {
    "r": 132,
    "g": 56,
    "b": 198
  },
  "hsl": {
    "h": 272.113,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51628,
    "c": 0.20937,
    "h": 304.4
  },
  "luminance": 0.11811
}

Semantic roles & 50–950 ramp

primary
#8438C6
secondary
#ABCD8D
accent
#DF498F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8438C6

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

Preview Lab → · Contrast checker → · Palette generator →

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