#8838D4#8838D4

#8838D4 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.2% C 0.224 H 302.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8838D4
RGBrgb(136, 56, 212)
HSLhsl(271, 64%, 53%)
HSVhsv(271, 74%, 83%)
CMYKcmyk(35.8%, 73.6%, 0%, 16.9%)
CIE-LABlab(42.48, 61.50, -66.27)
CIE-LCHlch(42.48, 90.41, 312.86°)
OKLaboklab(53.18% 0.121 -0.1889)
OKLCHoklch(53.18% 0.224 302.6)
XYZxyz(23.4484, 12.8160, 63.5130)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8838D4 #84D438
analogous
#3A38D4 #8838D4 #D438D2
triadic
#8838D4 #D48838 #38D488
tetradic
#8838D4 #D43A38 #84D438 #38D2D4
square
#8838D4 #D43A38 #84D438 #38D2D4
split-complementary
#8838D4 #D2D438 #38D43A
monochromatic
#4A1A78 #6925AA #8838D4 #A66ADF #C49DEA

Accessibility & contrast

On white

5.89
#8838D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8838D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8838D4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8838D4#FFFFFF#000000##FFFFFF
##8838D41.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#0064D1
Tritanopia (blue-blind)
#785F83
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8838d4;
/* rgb */ color: rgb(136, 56, 212);
/* oklch */ color: oklch(53.2% 0.224 302.6);
Tailwind
colors: {
  custom: {
    50: '#b176e2',
    500: '#8838d4',
    950: '#000000',
  },
}
SCSS
$custom: #8838d4;
$custom-light: #b176e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8838d4",
  "rgb": {
    "r": 136,
    "g": 56,
    "b": 212
  },
  "hsl": {
    "h": 270.769,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5318,
    "c": 0.22435,
    "h": 302.6
  },
  "luminance": 0.12816
}

Semantic roles & 50–950 ramp

primary
#8838D4
secondary
#B3D692
accent
#E74092
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110915
muted
#807B84

Preview Lab

Preview with #8838D4

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

Preview Lab → · Contrast checker → · Palette generator →

#8838D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva