#8738C0#8738C0

#8738C0 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.204 H 307.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8738C0
RGBrgb(135, 56, 192)
HSLhsl(275, 55%, 49%)
HSVhsv(275, 71%, 75%)
CMYKcmyk(29.7%, 70.8%, 0%, 24.7%)
CIE-LABlab(40.87, 56.74, -57.30)
CIE-LCHlch(40.87, 80.64, 314.72°)
OKLaboklab(51.54% 0.1232 -0.1626)
OKLCHoklch(51.54% 0.204 307.2)
XYZxyz(20.9183, 11.7853, 51.0317)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738C0 #71C038
analogous
#4338C0 #8738C0 #C038B5
triadic
#8738C0 #C08738 #38C087
tetradic
#8738C0 #C04338 #71C038 #38B5C0
square
#8738C0 #C04338 #71C038 #38B5C0
split-complementary
#8738C0 #B5C038 #38C043
monochromatic
#441C61 #662A91 #8738C0 #A464D2 #BF93DF

Accessibility & contrast

On white

6.26
#8738C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8738C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738C0
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738C0#FFFFFF#000000##FFFFFF
##8738C01.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#0961BD
Tritanopia (blue-blind)
#7E5778
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8738c0;
/* rgb */ color: rgb(135, 56, 192);
/* oklch */ color: oklch(51.5% 0.204 307.2);
Tailwind
colors: {
  custom: {
    50: '#af75d4',
    500: '#8738c0',
    950: '#000000',
  },
}
SCSS
$custom: #8738c0;
$custom-light: #af75d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8738c0",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 274.853,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51545,
    "c": 0.20399,
    "h": 307.2
  },
  "luminance": 0.11785
}

Semantic roles & 50–950 ramp

primary
#8738C0
secondary
#A5CB89
accent
#DE4A88
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8738C0

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

Preview Lab → · Contrast checker → · Palette generator →

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