#8738C7#8738C7

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

Color values

HEX#8738C7
RGBrgb(135, 56, 199)
HSLhsl(273, 56%, 50%)
HSVhsv(273, 72%, 78%)
CMYKcmyk(32.2%, 71.9%, 0%, 22%)
CIE-LABlab(41.38, 58.33, -60.56)
CIE-LCHlch(41.38, 84.08, 313.93°)
OKLaboklab(52.06% 0.1221 -0.1722)
OKLCHoklch(52.06% 0.211 305.3)
XYZxyz(21.7124, 12.1029, 55.2140)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738C7 #78C738
analogous
#4038C7 #8738C7 #C738BF
triadic
#8738C7 #C78738 #38C787
tetradic
#8738C7 #C74038 #78C738 #38BFC7
square
#8738C7 #C74038 #78C738 #38BFC7
split-complementary
#8738C7 #BFC738 #38C740
monochromatic
#461D67 #672B97 #8738C7 #A468D4 #C198E2

Accessibility & contrast

On white

6.14
#8738C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8738C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738C7
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738C7#FFFFFF#000000##FFFFFF
##8738C71.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#7B5A7C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8738c7;
/* rgb */ color: rgb(135, 56, 199);
/* oklch */ color: oklch(52.1% 0.211 305.3);
Tailwind
colors: {
  custom: {
    50: '#af76d9',
    500: '#8738c7',
    950: '#000000',
  },
}
SCSS
$custom: #8738c7;
$custom-light: #af76d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8738c7",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 273.147,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.52064,
    "c": 0.21106,
    "h": 305.3
  },
  "luminance": 0.12103
}

Semantic roles & 50–950 ramp

primary
#8738C7
secondary
#AACD8D
accent
#DF488C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8738C7

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

Preview Lab → · Contrast checker → · Palette generator →

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