#8838CA#8838CA

#8838CA is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.4% C 0.214 H 305.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8838CA
RGBrgb(136, 56, 202)
HSLhsl(273, 58%, 51%)
HSVhsv(273, 72%, 79%)
CMYKcmyk(32.7%, 72.3%, 0%, 20.8%)
CIE-LABlab(41.73, 59.20, -61.72)
CIE-LCHlch(41.73, 85.52, 313.81°)
OKLaboklab(52.41% 0.1229 -0.1756)
OKLCHoklch(52.41% 0.214 305)
XYZxyz(22.2258, 12.3270, 57.0741)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8838CA #7ACA38
analogous
#3F38CA #8838CA #CA38C3
triadic
#8838CA #CA8838 #38CA88
tetradic
#8838CA #CA3F38 #7ACA38 #38C3CA
square
#8838CA #CA3F38 #7ACA38 #38C3CA
split-complementary
#8838CA #C3CA38 #38CA3F
monochromatic
#481D6B #68299B #8838CA #A568D7 #C299E4

Accessibility & contrast

On white

6.06
#8838CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8838CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8838CA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8838CA#FFFFFF#000000##FFFFFF
##8838CA1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#7C5B7E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8838ca;
/* rgb */ color: rgb(136, 56, 202);
/* oklch */ color: oklch(52.4% 0.214 305.0);
Tailwind
colors: {
  custom: {
    50: '#b076db',
    500: '#8838ca',
    950: '#000000',
  },
}
SCSS
$custom: #8838ca;
$custom-light: #b076db;
$custom-dark: #000000;
JSON
{
  "hex": "#8838ca",
  "rgb": {
    "r": 136,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 272.877,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52411,
    "c": 0.21431,
    "h": 305
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#8838CA
secondary
#ACCF8E
accent
#E1478C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8838CA

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

Preview Lab → · Contrast checker → · Palette generator →

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