#8738BD#8738BD

#8738BD is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.201 H 308.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8738BD
RGBrgb(135, 56, 189)
HSLhsl(276, 54%, 48%)
HSVhsv(276, 70%, 74%)
CMYKcmyk(28.6%, 70.4%, 0%, 25.9%)
CIE-LABlab(40.66, 56.06, -55.89)
CIE-LCHlch(40.66, 79.16, 315.09°)
OKLaboklab(51.33% 0.1236 -0.1584)
OKLCHoklch(51.33% 0.201 308)
XYZxyz(20.5892, 11.6537, 49.2990)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738BD #6EBD38
analogous
#4438BD #8738BD #BD38B0
triadic
#8738BD #BD8738 #38BD87
tetradic
#8738BD #BD4438 #6EBD38 #38B0BD
square
#8738BD #BD4438 #6EBD38 #38B0BD
split-complementary
#8738BD #B0BD38 #38BD44
monochromatic
#441C5F #652A8E #8738BD #A362D0 #BF91DE

Accessibility & contrast

On white

6.31
#8738BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8738BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738BD
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738BD#FFFFFF#000000##FFFFFF
##8738BD1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#1461BA
Tritanopia (blue-blind)
#7E5677
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8738bd;
/* rgb */ color: rgb(135, 56, 189);
/* oklch */ color: oklch(51.3% 0.201 308.0);
Tailwind
colors: {
  custom: {
    50: '#af75d2',
    500: '#8738bd',
    950: '#000000',
  },
}
SCSS
$custom: #8738bd;
$custom-light: #af75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8738bd",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 275.639,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51327,
    "c": 0.20096,
    "h": 308
  },
  "luminance": 0.11653
}

Semantic roles & 50–950 ramp

primary
#8738BD
secondary
#A2C987
accent
#DE4A86
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8738BD

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

Preview Lab → · Contrast checker → · Palette generator →

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