#8438CC#8438CC

#8438CC is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.215 H 302.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8438CC
RGBrgb(132, 56, 204)
HSLhsl(271, 59%, 51%)
HSVhsv(271, 73%, 80%)
CMYKcmyk(35.3%, 72.5%, 0%, 20%)
CIE-LABlab(41.36, 58.93, -63.50)
CIE-LCHlch(41.36, 86.63, 312.86°)
OKLaboklab(52.09% 0.1171 -0.1809)
OKLCHoklch(52.09% 0.215 302.9)
XYZxyz(21.8264, 12.0935, 58.2994)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8438CC #80CC38
analogous
#3A38CC #8438CC #CC38CA
triadic
#8438CC #CC8438 #38CC84
tetradic
#8438CC #CC3A38 #80CC38 #38CACC
square
#8438CC #CC3A38 #80CC38 #38CACC
split-complementary
#8438CC #CACC38 #38CC3A
monochromatic
#461C6E #65299E #8438CC #A269D8 #C099E5

Accessibility & contrast

On white

6.14
#8438CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8438CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8438CC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8438CC#FFFFFF#000000##FFFFFF
##8438CC1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#755C7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8438cc;
/* rgb */ color: rgb(132, 56, 204);
/* oklch */ color: oklch(52.1% 0.215 302.9);
Tailwind
colors: {
  custom: {
    50: '#ae75dc',
    500: '#8438cc',
    950: '#000000',
  },
}
SCSS
$custom: #8438cc;
$custom-light: #ae75dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8438cc",
  "rgb": {
    "r": 132,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 270.811,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52087,
    "c": 0.21549,
    "h": 302.9
  },
  "luminance": 0.12094
}

Semantic roles & 50–950 ramp

primary
#8438CC
secondary
#AFD18F
accent
#E24592
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8438CC

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

Preview Lab → · Contrast checker → · Palette generator →

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