#8738C5#8738C5

#8738C5 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.209 H 305.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8738C5
RGBrgb(135, 56, 197)
HSLhsl(274, 56%, 50%)
HSVhsv(274, 72%, 77%)
CMYKcmyk(31.5%, 71.6%, 0%, 22.7%)
CIE-LABlab(41.23, 57.87, -59.63)
CIE-LCHlch(41.23, 83.10, 314.14°)
OKLaboklab(51.92% 0.1224 -0.1694)
OKLCHoklch(51.92% 0.209 305.8)
XYZxyz(21.4817, 12.0106, 53.9991)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738C5 #76C538
analogous
#4138C5 #8738C5 #C538BD
triadic
#8738C5 #C58738 #38C587
tetradic
#8738C5 #C54138 #76C538 #38BDC5
square
#8738C5 #C54138 #76C538 #38BDC5
split-complementary
#8738C5 #BDC538 #38C541
monochromatic
#461D66 #662A95 #8738C5 #A467D4 #C096E1

Accessibility & contrast

On white

6.17
#8738C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8738C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738C5
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738C5#FFFFFF#000000##FFFFFF
##8738C51.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#7C597B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8738c5;
/* rgb */ color: rgb(135, 56, 197);
/* oklch */ color: oklch(51.9% 0.209 305.8);
Tailwind
colors: {
  custom: {
    50: '#af75d7',
    500: '#8738c5',
    950: '#000000',
  },
}
SCSS
$custom: #8738c5;
$custom-light: #af75d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8738c5",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 273.617,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51915,
    "c": 0.20904,
    "h": 305.8
  },
  "luminance": 0.1201
}

Semantic roles & 50–950 ramp

primary
#8738C5
secondary
#A9CD8C
accent
#DF498B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8738C5

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

Preview Lab → · Contrast checker → · Palette generator →

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