#8738C3#8738C3

#8738C3 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.8% C 0.207 H 306.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8738C3
RGBrgb(135, 56, 195)
HSLhsl(274, 55%, 49%)
HSVhsv(274, 71%, 76%)
CMYKcmyk(30.8%, 71.3%, 0%, 23.5%)
CIE-LABlab(41.09, 57.42, -58.70)
CIE-LCHlch(41.09, 82.11, 314.37°)
OKLaboklab(51.77% 0.1228 -0.1667)
OKLCHoklch(51.77% 0.207 306.4)
XYZxyz(21.2540, 11.9196, 52.8002)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738C3 #74C338
analogous
#4238C3 #8738C3 #C338BA
triadic
#8738C3 #C38738 #38C387
tetradic
#8738C3 #C34238 #74C338 #38BAC3
square
#8738C3 #C34238 #74C338 #38BAC3
split-complementary
#8738C3 #BAC338 #38C342
monochromatic
#451D64 #662A93 #8738C3 #A465D3 #C095E1

Accessibility & contrast

On white

6.21
#8738C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8738C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738C3
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738C3#FFFFFF#000000##FFFFFF
##8738C31.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#7D587A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8738c3;
/* rgb */ color: rgb(135, 56, 195);
/* oklch */ color: oklch(51.8% 0.207 306.4);
Tailwind
colors: {
  custom: {
    50: '#af75d6',
    500: '#8738c3',
    950: '#000000',
  },
}
SCSS
$custom: #8738c3;
$custom-light: #af75d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8738c3",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 274.101,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51766,
    "c": 0.20703,
    "h": 306.4
  },
  "luminance": 0.11919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8738C3

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

Preview Lab → · Contrast checker → · Palette generator →

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