#8438AB#8438AB

#8438AB is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.182 H 312.0°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8438AB
RGBrgb(132, 56, 171)
HSLhsl(280, 51%, 45%)
HSVhsv(280, 67%, 67%)
CMYKcmyk(22.8%, 67.3%, 0%, 32.9%)
CIE-LABlab(39.03, 51.42, -47.91)
CIE-LCHlch(39.03, 70.28, 317.03°)
OKLaboklab(49.68% 0.1216 -0.1351)
OKLCHoklch(49.68% 0.182 312)
XYZxyz(18.2792, 10.6746, 39.6177)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8438AB #5FAB38
analogous
#4A38AB #8438AB #AB3899
triadic
#8438AB #AB8438 #38AB84
tetradic
#8438AB #AB4A38 #5FAB38 #3899AB
square
#8438AB #AB4A38 #5FAB38 #3899AB
split-complementary
#8438AB #99AB38 #38AB4A
monochromatic
#3D1A4F #60297D #8438AB #A258C8 #BC86D7

Accessibility & contrast

On white

6.70
#8438AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8438AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8438AB
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8438AB#FFFFFF#000000##FFFFFF
##8438AB1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#2D5DA8
Tritanopia (blue-blind)
#7F4F6D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8438ab;
/* rgb */ color: rgb(132, 56, 171);
/* oklch */ color: oklch(49.7% 0.182 312.0);
Tailwind
colors: {
  custom: {
    50: '#ab74c5',
    500: '#8438ab',
    950: '#000000',
  },
}
SCSS
$custom: #8438ab;
$custom-light: #ab74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8438ab",
  "rgb": {
    "r": 132,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 279.652,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49683,
    "c": 0.18175,
    "h": 312
  },
  "luminance": 0.10674
}

Semantic roles & 50–950 ramp

primary
#8438AB
secondary
#94C17D
accent
#DA4E7D
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8438AB

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

Preview Lab → · Contrast checker → · Palette generator →

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