#8738CC#8738CC

#8738CC is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.4% C 0.216 H 304.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8738CC
RGBrgb(135, 56, 204)
HSLhsl(272, 59%, 51%)
HSVhsv(272, 73%, 80%)
CMYKcmyk(33.8%, 72.5%, 0%, 20%)
CIE-LABlab(41.75, 59.47, -62.86)
CIE-LCHlch(41.75, 86.53, 313.42°)
OKLaboklab(52.44% 0.1212 -0.1789)
OKLCHoklch(52.44% 0.216 304.1)
XYZxyz(22.3024, 12.3389, 58.3217)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738CC #7DCC38
analogous
#3D38CC #8738CC #CC38C7
triadic
#8738CC #CC8738 #38CC87
tetradic
#8738CC #CC3D38 #7DCC38 #38C7CC
square
#8738CC #CC3D38 #7DCC38 #38C7CC
split-complementary
#8738CC #C7CC38 #38CC3D
monochromatic
#481C6E #67299E #8738CC #A469D8 #C299E5

Accessibility & contrast

On white

6.06
#8738CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8738CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738CC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738CC#FFFFFF#000000##FFFFFF
##8738CC1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#7A5C7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8738cc;
/* rgb */ color: rgb(135, 56, 204);
/* oklch */ color: oklch(52.4% 0.216 304.1);
Tailwind
colors: {
  custom: {
    50: '#b076dc',
    500: '#8738cc',
    950: '#000000',
  },
}
SCSS
$custom: #8738cc;
$custom-light: #b076dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8738cc",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 272.027,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52443,
    "c": 0.2161,
    "h": 304.1
  },
  "luminance": 0.12339
}

Semantic roles & 50–950 ramp

primary
#8738CC
secondary
#AED18F
accent
#E2458F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8738CC

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

Preview Lab → · Contrast checker → · Palette generator →

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