#8738B4#8738B4

#8738B4 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.7% C 0.192 H 310.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8738B4
RGBrgb(135, 56, 180)
HSLhsl(278, 53%, 46%)
HSVhsv(278, 69%, 71%)
CMYKcmyk(25%, 68.9%, 0%, 29.4%)
CIE-LABlab(40.04, 54.06, -51.59)
CIE-LCHlch(40.04, 74.73, 316.34°)
OKLaboklab(50.69% 0.1247 -0.1458)
OKLCHoklch(50.69% 0.192 310.5)
XYZxyz(19.6425, 11.2750, 44.3127)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738B4 #65B438
analogous
#4938B4 #8738B4 #B438A3
triadic
#8738B4 #B48738 #38B487
tetradic
#8738B4 #B44938 #65B438 #38A3B4
square
#8738B4 #B44938 #65B438 #38A3B4
split-complementary
#8738B4 #A3B438 #38B449
monochromatic
#411B57 #642985 #8738B4 #A45DCD #BE8BDB

Accessibility & contrast

On white

6.45
#8738B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8738B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738B4
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738B4#FFFFFF#000000##FFFFFF
##8738B41.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#2660B1
Tritanopia (blue-blind)
#815272
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8738b4;
/* rgb */ color: rgb(135, 56, 180);
/* oklch */ color: oklch(50.7% 0.192 310.5);
Tailwind
colors: {
  custom: {
    50: '#ae75cb',
    500: '#8738b4',
    950: '#000000',
  },
}
SCSS
$custom: #8738b4;
$custom-light: #ae75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8738b4",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 278.226,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50687,
    "c": 0.19188,
    "h": 310.5
  },
  "luminance": 0.11275
}

Semantic roles & 50–950 ramp

primary
#8738B4
secondary
#9BC582
accent
#DC4C80
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8738B4

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

Preview Lab → · Contrast checker → · Palette generator →

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