#8738B9#8738B9

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

Color values

HEX#8738B9
RGBrgb(135, 56, 185)
HSLhsl(277, 54%, 47%)
HSVhsv(277, 70%, 73%)
CMYKcmyk(27%, 69.7%, 0%, 27.5%)
CIE-LABlab(40.38, 55.17, -53.99)
CIE-LCHlch(40.38, 77.19, 315.62°)
OKLaboklab(51.04% 0.1242 -0.1529)
OKLCHoklch(51.04% 0.197 309.1)
XYZxyz(20.1610, 11.4824, 47.0438)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738B9 #6AB938
analogous
#4638B9 #8738B9 #B938AB
triadic
#8738B9 #B98738 #38B987
tetradic
#8738B9 #B94638 #6AB938 #38ABB9
square
#8738B9 #B94638 #6AB938 #38ABB9
split-complementary
#8738B9 #ABB938 #38B946
monochromatic
#421C5B #652A8A #8738B9 #A45FCF #BF8EDD

Accessibility & contrast

On white

6.37
#8738B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8738B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738B9
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738B9#FFFFFF#000000##FFFFFF
##8738B91.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)
#005CBD
Deuteranopia (green-blind)
#1D60B6
Tritanopia (blue-blind)
#805474
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8738b9;
/* rgb */ color: rgb(135, 56, 185);
/* oklch */ color: oklch(51.0% 0.197 309.1);
Tailwind
colors: {
  custom: {
    50: '#ae75cf',
    500: '#8738b9',
    950: '#000000',
  },
}
SCSS
$custom: #8738b9;
$custom-light: #ae75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8738b9",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 276.744,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5104,
    "c": 0.19692,
    "h": 309.1
  },
  "luminance": 0.11482
}

Semantic roles & 50–950 ramp

primary
#8738B9
secondary
#9FC885
accent
#DD4B83
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8738B9

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

Preview Lab → · Contrast checker → · Palette generator →

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