#8738C9#8738C9

#8738C9 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.213 H 304.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8738C9
RGBrgb(135, 56, 201)
HSLhsl(273, 57%, 50%)
HSVhsv(273, 72%, 79%)
CMYKcmyk(32.8%, 72.1%, 0%, 21.2%)
CIE-LABlab(41.53, 58.78, -61.48)
CIE-LCHlch(41.53, 85.06, 313.72°)
OKLaboklab(52.22% 0.1217 -0.1749)
OKLCHoklch(52.22% 0.213 304.8)
XYZxyz(21.9461, 12.1964, 56.4450)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738C9 #7AC938
analogous
#3F38C9 #8738C9 #C938C2
triadic
#8738C9 #C98738 #38C987
tetradic
#8738C9 #C93F38 #7AC938 #38C2C9
square
#8738C9 #C93F38 #7AC938 #38C2C9
split-complementary
#8738C9 #C2C938 #38C93F
monochromatic
#471D6A #672A9A #8738C9 #A468D6 #C198E3

Accessibility & contrast

On white

6.11
#8738C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8738C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738C9
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738C9#FFFFFF#000000##FFFFFF
##8738C91.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#7B5B7D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8738c9;
/* rgb */ color: rgb(135, 56, 201);
/* oklch */ color: oklch(52.2% 0.213 304.8);
Tailwind
colors: {
  custom: {
    50: '#af76da',
    500: '#8738c9',
    950: '#000000',
  },
}
SCSS
$custom: #8738c9;
$custom-light: #af76da;
$custom-dark: #000000;
JSON
{
  "hex": "#8738c9",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 201
  },
  "hsl": {
    "h": 272.69,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52215,
    "c": 0.21308,
    "h": 304.8
  },
  "luminance": 0.12196
}

Semantic roles & 50–950 ramp

primary
#8738C9
secondary
#ACCF8E
accent
#E1478D
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8738C9

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

Preview Lab → · Contrast checker → · Palette generator →

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