#8738C4#8738C4

#8738C4 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.8% C 0.208 H 306.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8738C4
RGBrgb(135, 56, 196)
HSLhsl(274, 56%, 49%)
HSVhsv(274, 71%, 77%)
CMYKcmyk(31.1%, 71.4%, 0%, 23.1%)
CIE-LABlab(41.16, 57.64, -59.17)
CIE-LCHlch(41.16, 82.60, 314.25°)
OKLaboklab(51.84% 0.1226 -0.1681)
OKLCHoklch(51.84% 0.208 306.1)
XYZxyz(21.3675, 11.9650, 53.3977)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738C4 #75C438
analogous
#4138C4 #8738C4 #C438BB
triadic
#8738C4 #C48738 #38C487
tetradic
#8738C4 #C44138 #75C438 #38BBC4
square
#8738C4 #C44138 #75C438 #38BBC4
split-complementary
#8738C4 #BBC438 #38C441
monochromatic
#451D65 #662A94 #8738C4 #A466D3 #C096E1

Accessibility & contrast

On white

6.19
#8738C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8738C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738C4
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738C4#FFFFFF#000000##FFFFFF
##8738C41.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0061C1
Tritanopia (blue-blind)
#7C597A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8738c4;
/* rgb */ color: rgb(135, 56, 196);
/* oklch */ color: oklch(51.8% 0.208 306.1);
Tailwind
colors: {
  custom: {
    50: '#af75d7',
    500: '#8738c4',
    950: '#000000',
  },
}
SCSS
$custom: #8738c4;
$custom-light: #af75d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8738c4",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 273.857,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5184,
    "c": 0.20804,
    "h": 306.1
  },
  "luminance": 0.11965
}

Semantic roles & 50–950 ramp

primary
#8738C4
secondary
#A8CC8C
accent
#DF498A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8738C4

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

Preview Lab → · Contrast checker → · Palette generator →

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