#8738B0#8738B0

#8738B0 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.4% C 0.188 H 311.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8738B0
RGBrgb(135, 56, 176)
HSLhsl(280, 52%, 45%)
HSVhsv(280, 68%, 69%)
CMYKcmyk(23.3%, 68.2%, 0%, 31%)
CIE-LABlab(39.77, 53.19, -49.66)
CIE-LCHlch(39.77, 72.76, 316.97°)
OKLaboklab(50.41% 0.1251 -0.1401)
OKLCHoklch(50.41% 0.188 311.8)
XYZxyz(19.2409, 11.1143, 42.1976)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738B0 #61B038
analogous
#4B38B0 #8738B0 #B0389D
triadic
#8738B0 #B08738 #38B087
tetradic
#8738B0 #B04B38 #61B038 #389DB0
square
#8738B0 #B04B38 #61B038 #389DB0
split-complementary
#8738B0 #9DB038 #38B04B
monochromatic
#401A53 #632982 #8738B0 #A45BCB #BE89D9

Accessibility & contrast

On white

6.52
#8738B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8738B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738B0
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738B0#FFFFFF#000000##FFFFFF
##8738B01.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#2B5FAD
Tritanopia (blue-blind)
#82516F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8738b0;
/* rgb */ color: rgb(135, 56, 176);
/* oklch */ color: oklch(50.4% 0.188 311.8);
Tailwind
colors: {
  custom: {
    50: '#ae75c8',
    500: '#8738b0',
    950: '#000000',
  },
}
SCSS
$custom: #8738b0;
$custom-light: #ae75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8738b0",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 176
  },
  "hsl": {
    "h": 279.5,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5041,
    "c": 0.18785,
    "h": 311.8
  },
  "luminance": 0.11114
}

Semantic roles & 50–950 ramp

primary
#8738B0
secondary
#97C480
accent
#DB4D7D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8738B0

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

Preview Lab → · Contrast checker → · Palette generator →

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