#8738B2#8738B2

#8738B2 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.190 H 311.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8738B2
RGBrgb(135, 56, 178)
HSLhsl(279, 52%, 46%)
HSVhsv(279, 69%, 70%)
CMYKcmyk(24.2%, 68.5%, 0%, 30.2%)
CIE-LABlab(39.91, 53.62, -50.63)
CIE-LCHlch(39.91, 73.75, 316.65°)
OKLaboklab(50.55% 0.1249 -0.143)
OKLCHoklch(50.55% 0.19 311.1)
XYZxyz(19.4402, 11.1941, 43.2474)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738B2 #63B238
analogous
#4A38B2 #8738B2 #B238A0
triadic
#8738B2 #B28738 #38B287
tetradic
#8738B2 #B24A38 #63B238 #38A0B2
square
#8738B2 #B24A38 #63B238 #38A0B2
split-complementary
#8738B2 #A0B238 #38B24A
monochromatic
#401B55 #642983 #8738B2 #A45CCC #BE8ADA

Accessibility & contrast

On white

6.48
#8738B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8738B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738B2
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738B2#FFFFFF#000000##FFFFFF
##8738B21.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#285FAF
Tritanopia (blue-blind)
#825271
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8738b2;
/* rgb */ color: rgb(135, 56, 178);
/* oklch */ color: oklch(50.5% 0.190 311.1);
Tailwind
colors: {
  custom: {
    50: '#ae75ca',
    500: '#8738b2',
    950: '#000000',
  },
}
SCSS
$custom: #8738b2;
$custom-light: #ae75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8738b2",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 278.852,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50548,
    "c": 0.18986,
    "h": 311.1
  },
  "luminance": 0.11194
}

Semantic roles & 50–950 ramp

primary
#8738B2
secondary
#99C581
accent
#DC4C7F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8738B2

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

Preview Lab → · Contrast checker → · Palette generator →

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