#8438CA#8438CA

#8438CA is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.213 H 303.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8438CA
RGBrgb(132, 56, 202)
HSLhsl(271, 58%, 51%)
HSVhsv(271, 72%, 79%)
CMYKcmyk(34.7%, 72.3%, 0%, 20.8%)
CIE-LABlab(41.21, 58.46, -62.59)
CIE-LCHlch(41.21, 85.64, 313.05°)
OKLaboklab(51.93% 0.1175 -0.1782)
OKLCHoklch(51.93% 0.213 303.4)
XYZxyz(21.5881, 11.9982, 57.0442)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8438CA #7ECA38
analogous
#3B38CA #8438CA #CA38C7
triadic
#8438CA #CA8438 #38CA84
tetradic
#8438CA #CA3B38 #7ECA38 #38C7CA
square
#8438CA #CA3B38 #7ECA38 #38C7CA
split-complementary
#8438CA #C7CA38 #38CA3B
monochromatic
#451D6B #65299B #8438CA #A268D7 #C099E4

Accessibility & contrast

On white

6.18
#8438CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8438CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8438CA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8438CA#FFFFFF#000000##FFFFFF
##8438CA1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#765C7E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8438ca;
/* rgb */ color: rgb(132, 56, 202);
/* oklch */ color: oklch(51.9% 0.213 303.4);
Tailwind
colors: {
  custom: {
    50: '#ad75db',
    500: '#8438ca',
    950: '#000000',
  },
}
SCSS
$custom: #8438ca;
$custom-light: #ad75db;
$custom-dark: #000000;
JSON
{
  "hex": "#8438ca",
  "rgb": {
    "r": 132,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 271.233,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51933,
    "c": 0.21345,
    "h": 303.4
  },
  "luminance": 0.11998
}

Semantic roles & 50–950 ramp

primary
#8438CA
secondary
#AECF8E
accent
#E14791
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8438CA

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

Preview Lab → · Contrast checker → · Palette generator →

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