#8738B3#8738B3

#8738B3 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.6% C 0.191 H 310.8°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8738B3
RGBrgb(135, 56, 179)
HSLhsl(279, 52%, 46%)
HSVhsv(279, 69%, 70%)
CMYKcmyk(24.6%, 68.7%, 0%, 29.8%)
CIE-LABlab(39.97, 53.84, -51.11)
CIE-LCHlch(39.97, 74.24, 316.49°)
OKLaboklab(50.62% 0.1248 -0.1444)
OKLCHoklch(50.62% 0.191 310.8)
XYZxyz(19.5410, 11.2344, 43.7781)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738B3 #64B338
analogous
#4A38B3 #8738B3 #B338A1
triadic
#8738B3 #B38738 #38B387
tetradic
#8738B3 #B34A38 #64B338 #38A1B3
square
#8738B3 #B34A38 #64B338 #38A1B3
split-complementary
#8738B3 #A1B338 #38B34A
monochromatic
#411B56 #642984 #8738B3 #A45CCC #BE8BDB

Accessibility & contrast

On white

6.47
#8738B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8738B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738B3
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738B3#FFFFFF#000000##FFFFFF
##8738B31.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#2760B0
Tritanopia (blue-blind)
#815271
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8738b3;
/* rgb */ color: rgb(135, 56, 179);
/* oklch */ color: oklch(50.6% 0.191 310.8);
Tailwind
colors: {
  custom: {
    50: '#ae75ca',
    500: '#8738b3',
    950: '#000000',
  },
}
SCSS
$custom: #8738b3;
$custom-light: #ae75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8738b3",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 278.537,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50617,
    "c": 0.19087,
    "h": 310.8
  },
  "luminance": 0.11234
}

Semantic roles & 50–950 ramp

primary
#8738B3
secondary
#9AC582
accent
#DC4C7F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8738B3

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

Preview Lab → · Contrast checker → · Palette generator →

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