#8738D0#8738D0

#8738D0 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.8% C 0.220 H 303.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8738D0
RGBrgb(135, 56, 208)
HSLhsl(271, 62%, 52%)
HSVhsv(271, 73%, 82%)
CMYKcmyk(35.1%, 73.1%, 0%, 18.4%)
CIE-LABlab(42.05, 60.40, -64.68)
CIE-LCHlch(42.05, 88.49, 313.04°)
OKLaboklab(52.75% 0.1204 -0.1843)
OKLCHoklch(52.75% 0.22 303.2)
XYZxyz(22.7883, 12.5333, 60.8809)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738D0 #81D038
analogous
#3B38D0 #8738D0 #D038CD
triadic
#8738D0 #D08738 #38D087
tetradic
#8738D0 #D03B38 #81D038 #38CDD0
square
#8738D0 #D03B38 #81D038 #38CDD0
split-complementary
#8738D0 #CDD038 #38D03B
monochromatic
#491B73 #6827A4 #8738D0 #A56ADC #C39BE7

Accessibility & contrast

On white

5.99
#8738D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8738D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738D0
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738D0#FFFFFF#000000##FFFFFF
##8738D01.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D4
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#785E81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8738d0;
/* rgb */ color: rgb(135, 56, 208);
/* oklch */ color: oklch(52.8% 0.220 303.2);
Tailwind
colors: {
  custom: {
    50: '#b076df',
    500: '#8738d0',
    950: '#000000',
  },
}
SCSS
$custom: #8738d0;
$custom-light: #b076df;
$custom-dark: #000000;
JSON
{
  "hex": "#8738d0",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 208
  },
  "hsl": {
    "h": 271.184,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52751,
    "c": 0.22014,
    "h": 303.2
  },
  "luminance": 0.12533
}

Semantic roles & 50–950 ramp

primary
#8738D0
secondary
#B1D391
accent
#E54391
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8738D0

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

Preview Lab → · Contrast checker → · Palette generator →

#8738D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva