#8037D3#8037D3

#8037D3 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.1% C 0.223 H 299.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8037D3
RGBrgb(128, 55, 211)
HSLhsl(268, 64%, 52%)
HSVhsv(268, 74%, 83%)
CMYKcmyk(39.3%, 73.9%, 0%, 17.3%)
CIE-LABlab(41.26, 60.31, -67.74)
CIE-LCHlch(41.26, 90.70, 311.68°)
OKLaboklab(52.07% 0.1109 -0.1935)
OKLCHoklch(52.07% 0.223 299.8)
XYZxyz(22.0232, 12.0245, 62.7761)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8037D3 #8AD337
analogous
#373CD3 #8037D3 #CE37D3
triadic
#8037D3 #D38037 #37D380
tetradic
#8037D3 #D3373C #8AD337 #37D3CE
square
#8037D3 #D3373C #8AD337 #37D3CE
split-complementary
#8037D3 #D3CE37 #3CD337
monochromatic
#451A76 #6225A8 #8037D3 #A069DE #C09BE9

Accessibility & contrast

On white

6.17
#8037D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8037D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8037D3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8037D3#FFFFFF#000000##FFFFFF
##8037D31.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#6D5F83
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8037d3;
/* rgb */ color: rgb(128, 55, 211);
/* oklch */ color: oklch(52.1% 0.223 299.8);
Tailwind
colors: {
  custom: {
    50: '#ac75e2',
    500: '#8037d3',
    950: '#000000',
  },
}
SCSS
$custom: #8037d3;
$custom-light: #ac75e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8037d3",
  "rgb": {
    "r": 128,
    "g": 55,
    "b": 211
  },
  "hsl": {
    "h": 268.077,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5207,
    "c": 0.22306,
    "h": 299.8
  },
  "luminance": 0.12025
}

Semantic roles & 50–950 ramp

primary
#8037D3
secondary
#B5D591
accent
#E74199
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110915
muted
#807B84

Preview Lab

Preview with #8037D3

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

Preview Lab → · Contrast checker → · Palette generator →

#8037D3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva