#8738BC#8738BC

#8738BC is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.3% C 0.200 H 308.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8738BC
RGBrgb(135, 56, 188)
HSLhsl(276, 54%, 48%)
HSVhsv(276, 70%, 74%)
CMYKcmyk(28.2%, 70.2%, 0%, 26.3%)
CIE-LABlab(40.59, 55.84, -55.41)
CIE-LCHlch(40.59, 78.67, 315.22°)
OKLaboklab(51.26% 0.1238 -0.157)
OKLCHoklch(51.26% 0.2 308.2)
XYZxyz(20.4811, 11.6104, 48.7293)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738BC #6DBC38
analogous
#4538BC #8738BC #BC38AF
triadic
#8738BC #BC8738 #38BC87
tetradic
#8738BC #BC4538 #6DBC38 #38AFBC
square
#8738BC #BC4538 #6DBC38 #38AFBC
split-complementary
#8738BC #AFBC38 #38BC45
monochromatic
#431C5E #652A8D #8738BC #A461D0 #BF90DE

Accessibility & contrast

On white

6.32
#8738BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8738BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738BC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738BC#FFFFFF#000000##FFFFFF
##8738BC1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#1761B9
Tritanopia (blue-blind)
#7F5676
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8738bc;
/* rgb */ color: rgb(135, 56, 188);
/* oklch */ color: oklch(51.3% 0.200 308.2);
Tailwind
colors: {
  custom: {
    50: '#ae75d1',
    500: '#8738bc',
    950: '#000000',
  },
}
SCSS
$custom: #8738bc;
$custom-light: #ae75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8738bc",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 275.909,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51255,
    "c": 0.19995,
    "h": 308.2
  },
  "luminance": 0.1161
}

Semantic roles & 50–950 ramp

primary
#8738BC
secondary
#A1C987
accent
#DD4A85
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8738BC

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

Preview Lab → · Contrast checker → · Palette generator →

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