#8738C6#8738C6

#8738C6 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.210 H 305.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8738C6
RGBrgb(135, 56, 198)
HSLhsl(273, 56%, 50%)
HSVhsv(273, 72%, 78%)
CMYKcmyk(31.8%, 71.7%, 0%, 22.4%)
CIE-LABlab(41.31, 58.10, -60.09)
CIE-LCHlch(41.31, 83.59, 314.03°)
OKLaboklab(51.99% 0.1223 -0.1708)
OKLCHoklch(51.99% 0.21 305.6)
XYZxyz(21.5966, 12.0566, 54.6045)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738C6 #77C638
analogous
#4038C6 #8738C6 #C638BE
triadic
#8738C6 #C68738 #38C687
tetradic
#8738C6 #C64038 #77C638 #38BEC6
square
#8738C6 #C64038 #77C638 #38BEC6
split-complementary
#8738C6 #BEC638 #38C640
monochromatic
#461D67 #662B96 #8738C6 #A467D4 #C097E2

Accessibility & contrast

On white

6.16
#8738C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8738C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738C6
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738C6#FFFFFF#000000##FFFFFF
##8738C61.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#7C5A7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8738c6;
/* rgb */ color: rgb(135, 56, 198);
/* oklch */ color: oklch(52.0% 0.210 305.6);
Tailwind
colors: {
  custom: {
    50: '#af75d8',
    500: '#8738c6',
    950: '#000000',
  },
}
SCSS
$custom: #8738c6;
$custom-light: #af75d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8738c6",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 198
  },
  "hsl": {
    "h": 273.38,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51989,
    "c": 0.21005,
    "h": 305.6
  },
  "luminance": 0.12056
}

Semantic roles & 50–950 ramp

primary
#8738C6
secondary
#A9CD8D
accent
#DF498B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8738C6

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

Preview Lab → · Contrast checker → · Palette generator →

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