#8838B7#8838B7

#8838B7 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.0% C 0.195 H 310.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8838B7
RGBrgb(136, 56, 183)
HSLhsl(278, 53%, 47%)
HSVhsv(278, 69%, 72%)
CMYKcmyk(25.7%, 69.4%, 0%, 28.2%)
CIE-LABlab(40.38, 54.94, -52.81)
CIE-LCHlch(40.38, 76.20, 316.13°)
OKLaboklab(51.02% 0.1257 -0.1493)
OKLCHoklch(51.02% 0.195 310.1)
XYZxyz(20.1131, 11.4819, 45.9473)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8838B7 #67B738
analogous
#4838B7 #8838B7 #B738A7
triadic
#8838B7 #B78838 #38B788
tetradic
#8838B7 #B74838 #67B738 #38A7B7
square
#8838B7 #B74838 #67B738 #38A7B7
split-complementary
#8838B7 #A7B738 #38B748
monochromatic
#421B59 #652A88 #8838B7 #A55ECE #BF8DDC

Accessibility & contrast

On white

6.37
#8838B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8838B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8838B7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8838B7#FFFFFF#000000##FFFFFF
##8838B71.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#2360B4
Tritanopia (blue-blind)
#825373
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8838b7;
/* rgb */ color: rgb(136, 56, 183);
/* oklch */ color: oklch(51.0% 0.195 310.1);
Tailwind
colors: {
  custom: {
    50: '#af75cd',
    500: '#8838b7',
    950: '#000000',
  },
}
SCSS
$custom: #8838b7;
$custom-light: #af75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8838b7",
  "rgb": {
    "r": 136,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 277.795,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51024,
    "c": 0.19521,
    "h": 310.1
  },
  "luminance": 0.11481
}

Semantic roles & 50–950 ramp

primary
#8838B7
secondary
#9DC784
accent
#DD4B81
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8838B7

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

Preview Lab → · Contrast checker → · Palette generator →

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