#8838CF#8838CF

#8838CF is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.219 H 303.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8838CF
RGBrgb(136, 56, 207)
HSLhsl(272, 61%, 52%)
HSVhsv(272, 73%, 81%)
CMYKcmyk(34.3%, 72.9%, 0%, 18.8%)
CIE-LABlab(42.10, 60.35, -64.01)
CIE-LCHlch(42.10, 87.97, 313.31°)
OKLaboklab(52.79% 0.122 -0.1823)
OKLCHoklch(52.79% 0.219 303.8)
XYZxyz(22.8274, 12.5676, 60.2426)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8838CF #7FCF38
analogous
#3D38CF #8838CF #CF38CB
triadic
#8838CF #CF8838 #38CF88
tetradic
#8838CF #CF3D38 #7FCF38 #38CBCF
square
#8838CF #CF3D38 #7FCF38 #38CBCF
split-complementary
#8838CF #CBCF38 #38CF3D
monochromatic
#491B71 #6927A3 #8838CF #A569DB #C39BE7

Accessibility & contrast

On white

5.98
#8838CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8838CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8838CF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8838CF#FFFFFF#000000##FFFFFF
##8838CF1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#7A5D81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8838cf;
/* rgb */ color: rgb(136, 56, 207);
/* oklch */ color: oklch(52.8% 0.219 303.8);
Tailwind
colors: {
  custom: {
    50: '#b176df',
    500: '#8838cf',
    950: '#000000',
  },
}
SCSS
$custom: #8838cf;
$custom-light: #b176df;
$custom-dark: #000000;
JSON
{
  "hex": "#8838cf",
  "rgb": {
    "r": 136,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 271.788,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52792,
    "c": 0.21933,
    "h": 303.8
  },
  "luminance": 0.12568
}

Semantic roles & 50–950 ramp

primary
#8838CF
secondary
#AFD390
accent
#E4448F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8838CF

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

Preview Lab → · Contrast checker → · Palette generator →

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