#8738AF#8738AF

#8738AF is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.3% C 0.187 H 312.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8738AF
RGBrgb(135, 56, 175)
HSLhsl(280, 52%, 45%)
HSVhsv(280, 68%, 69%)
CMYKcmyk(22.9%, 68%, 0%, 31.4%)
CIE-LABlab(39.71, 52.97, -49.17)
CIE-LCHlch(39.71, 72.27, 317.13°)
OKLaboklab(50.34% 0.1252 -0.1387)
OKLCHoklch(50.34% 0.187 312.1)
XYZxyz(19.1423, 11.0749, 41.6784)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738AF #60AF38
analogous
#4C38AF #8738AF #AF389B
triadic
#8738AF #AF8738 #38AF87
tetradic
#8738AF #AF4C38 #60AF38 #389BAF
square
#8738AF #AF4C38 #60AF38 #389BAF
split-complementary
#8738AF #9BAF38 #38AF4C
monochromatic
#3F1A52 #632981 #8738AF #A45ACA #BE88D9

Accessibility & contrast

On white

6.53
#8738AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8738AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738AF
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738AF#FFFFFF#000000##FFFFFF
##8738AF1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#2C5FAC
Tritanopia (blue-blind)
#82506F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8738af;
/* rgb */ color: rgb(135, 56, 175);
/* oklch */ color: oklch(50.3% 0.187 312.1);
Tailwind
colors: {
  custom: {
    50: '#ae75c7',
    500: '#8738af',
    950: '#000000',
  },
}
SCSS
$custom: #8738af;
$custom-light: #ae75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8738af",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 279.832,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50342,
    "c": 0.18684,
    "h": 312.1
  },
  "luminance": 0.11074
}

Semantic roles & 50–950 ramp

primary
#8738AF
secondary
#96C380
accent
#DB4D7D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8738AF

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

Preview Lab → · Contrast checker → · Palette generator →

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