#8738D9#8738D9

#8738D9 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.5% C 0.229 H 301.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8738D9
RGBrgb(135, 56, 217)
HSLhsl(269, 68%, 54%)
HSVhsv(269, 74%, 85%)
CMYKcmyk(37.8%, 74.2%, 0%, 14.9%)
CIE-LABlab(42.75, 62.49, -68.72)
CIE-LCHlch(42.75, 92.89, 312.28°)
OKLaboklab(53.46% 0.1185 -0.1962)
OKLCHoklch(53.46% 0.229 301.1)
XYZxyz(23.9272, 12.9888, 66.8787)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738D9 #8AD938
analogous
#3839D9 #8738D9 #D738D9
triadic
#8738D9 #D98738 #38D987
tetradic
#8738D9 #D93839 #8AD938 #38D9D7
square
#8738D9 #D93839 #8AD938 #38D9D7
split-complementary
#8738D9 #D9D738 #39D938
monochromatic
#4A187E #6922B2 #8738D9 #A66BE3 #C59FED

Accessibility & contrast

On white

5.84
#8738D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8738D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738D9
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738D9#FFFFFF#000000##FFFFFF
##8738D91.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DE
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#756186
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8738d9;
/* rgb */ color: rgb(135, 56, 217);
/* oklch */ color: oklch(53.5% 0.229 301.1);
Tailwind
colors: {
  custom: {
    50: '#b176e6',
    500: '#8738d9',
    950: '#000000',
  },
}
SCSS
$custom: #8738d9;
$custom-light: #b176e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8738d9",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 217
  },
  "hsl": {
    "h": 269.441,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53458,
    "c": 0.22918,
    "h": 301.1
  },
  "luminance": 0.12989
}

Semantic roles & 50–950 ramp

primary
#8738D9
secondary
#B7D994
accent
#EB3D96
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8738D9

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

Preview Lab → · Contrast checker → · Palette generator →

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