#8438C5#8438C5

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

Color values

HEX#8438C5
RGBrgb(132, 56, 197)
HSLhsl(272, 56%, 50%)
HSVhsv(272, 72%, 77%)
CMYKcmyk(33%, 71.6%, 0%, 22.7%)
CIE-LABlab(40.84, 57.30, -60.29)
CIE-LCHlch(40.84, 83.17, 313.54°)
OKLaboklab(51.55% 0.1183 -0.1715)
OKLCHoklch(51.55% 0.208 304.6)
XYZxyz(21.0057, 11.7652, 53.9768)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8438C5 #79C538
analogous
#3D38C5 #8438C5 #C538C0
triadic
#8438C5 #C58438 #38C584
tetradic
#8438C5 #C53D38 #79C538 #38C0C5
square
#8438C5 #C53D38 #79C538 #38C0C5
split-complementary
#8438C5 #C0C538 #38C53D
monochromatic
#441D66 #642A95 #8438C5 #A167D4 #BF96E1

Accessibility & contrast

On white

6.26
#8438C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8438C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8438C5
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8438C5#FFFFFF#000000##FFFFFF
##8438C51.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#785A7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8438c5;
/* rgb */ color: rgb(132, 56, 197);
/* oklch */ color: oklch(51.6% 0.208 304.6);
Tailwind
colors: {
  custom: {
    50: '#ad75d7',
    500: '#8438c5',
    950: '#000000',
  },
}
SCSS
$custom: #8438c5;
$custom-light: #ad75d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8438c5",
  "rgb": {
    "r": 132,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 272.34,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51552,
    "c": 0.20834,
    "h": 304.6
  },
  "luminance": 0.11765
}

Semantic roles & 50–950 ramp

primary
#8438C5
secondary
#AACD8C
accent
#DF498E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8438C5

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

Preview Lab → · Contrast checker → · Palette generator →

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