#8838D9#8838D9

#8838D9 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.6% C 0.229 H 301.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8838D9
RGBrgb(136, 56, 217)
HSLhsl(270, 68%, 54%)
HSVhsv(270, 74%, 85%)
CMYKcmyk(37.3%, 74.2%, 0%, 14.9%)
CIE-LABlab(42.87, 62.66, -68.51)
CIE-LCHlch(42.87, 92.85, 312.45°)
OKLaboklab(53.57% 0.1199 -0.1955)
OKLCHoklch(53.57% 0.229 301.5)
XYZxyz(24.0889, 13.0722, 66.8863)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8838D9 #89D938
analogous
#3838D9 #8838D9 #D838D9
triadic
#8838D9 #D98838 #38D988
tetradic
#8838D9 #D93838 #89D938 #38D9D8
square
#8838D9 #D93838 #89D938 #38D9D8
split-complementary
#8838D9 #D9D838 #38D938
monochromatic
#4B187E #6922B2 #8838D9 #A76BE3 #C59FED

Accessibility & contrast

On white

5.81
#8838D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8838D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8838D9
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8838D9#FFFFFF#000000##FFFFFF
##8838D91.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DE
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#766186
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8838d9;
/* rgb */ color: rgb(136, 56, 217);
/* oklch */ color: oklch(53.6% 0.229 301.5);
Tailwind
colors: {
  custom: {
    50: '#b176e6',
    500: '#8838d9',
    950: '#000000',
  },
}
SCSS
$custom: #8838d9;
$custom-light: #b176e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8838d9",
  "rgb": {
    "r": 136,
    "g": 56,
    "b": 217
  },
  "hsl": {
    "h": 269.814,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53573,
    "c": 0.22935,
    "h": 301.5
  },
  "luminance": 0.13072
}

Semantic roles & 50–950 ramp

primary
#8838D9
secondary
#B7D994
accent
#EB3D94
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8838D9

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

Preview Lab → · Contrast checker → · Palette generator →

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