#8438C7#8438C7

#8438C7 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.210 H 304.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8438C7
RGBrgb(132, 56, 199)
HSLhsl(272, 56%, 50%)
HSVhsv(272, 72%, 78%)
CMYKcmyk(33.7%, 71.9%, 0%, 22%)
CIE-LABlab(40.99, 57.76, -61.21)
CIE-LCHlch(40.99, 84.16, 313.34°)
OKLaboklab(51.7% 0.118 -0.1742)
OKLCHoklch(51.7% 0.21 304.1)
XYZxyz(21.2363, 11.8575, 55.1917)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8438C7 #7BC738
analogous
#3D38C7 #8438C7 #C738C2
triadic
#8438C7 #C78438 #38C784
tetradic
#8438C7 #C73D38 #7BC738 #38C2C7
square
#8438C7 #C73D38 #7BC738 #38C2C7
split-complementary
#8438C7 #C2C738 #38C73D
monochromatic
#451D67 #642B97 #8438C7 #A268D4 #BF98E2

Accessibility & contrast

On white

6.23
#8438C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8438C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8438C7
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8438C7#FFFFFF#000000##FFFFFF
##8438C71.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#775A7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8438c7;
/* rgb */ color: rgb(132, 56, 199);
/* oklch */ color: oklch(51.7% 0.210 304.1);
Tailwind
colors: {
  custom: {
    50: '#ad75d9',
    500: '#8438c7',
    950: '#000000',
  },
}
SCSS
$custom: #8438c7;
$custom-light: #ad75d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8438c7",
  "rgb": {
    "r": 132,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 271.888,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.51704,
    "c": 0.21038,
    "h": 304.1
  },
  "luminance": 0.11857
}

Semantic roles & 50–950 ramp

primary
#8438C7
secondary
#ABCD8D
accent
#DF488F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8438C7

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

Preview Lab → · Contrast checker → · Palette generator →

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