#8738C8#8738C8

#8738C8 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.212 H 305.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8738C8
RGBrgb(135, 56, 200)
HSLhsl(273, 57%, 50%)
HSVhsv(273, 72%, 78%)
CMYKcmyk(32.5%, 72%, 0%, 21.6%)
CIE-LABlab(41.45, 58.56, -61.02)
CIE-LCHlch(41.45, 84.57, 313.82°)
OKLaboklab(52.14% 0.1219 -0.1735)
OKLCHoklch(52.14% 0.212 305.1)
XYZxyz(21.8288, 12.1495, 55.8275)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738C8 #79C838
analogous
#3F38C8 #8738C8 #C838C1
triadic
#8738C8 #C88738 #38C887
tetradic
#8738C8 #C83F38 #79C838 #38C1C8
square
#8738C8 #C83F38 #79C838 #38C1C8
split-complementary
#8738C8 #C1C838 #38C83F
monochromatic
#461D69 #672A99 #8738C8 #A468D5 #C198E3

Accessibility & contrast

On white

6.12
#8738C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8738C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738C8
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738C8#FFFFFF#000000##FFFFFF
##8738C81.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#7B5A7D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8738c8;
/* rgb */ color: rgb(135, 56, 200);
/* oklch */ color: oklch(52.1% 0.212 305.1);
Tailwind
colors: {
  custom: {
    50: '#af76da',
    500: '#8738c8',
    950: '#000000',
  },
}
SCSS
$custom: #8738c8;
$custom-light: #af76da;
$custom-dark: #000000;
JSON
{
  "hex": "#8738c8",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 272.917,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5214,
    "c": 0.21206,
    "h": 305.1
  },
  "luminance": 0.12149
}

Semantic roles & 50–950 ramp

primary
#8738C8
secondary
#ABCE8E
accent
#E0488D
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8738C8

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

Preview Lab → · Contrast checker → · Palette generator →

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