#8039B2#8039B2

#8039B2 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.8% C 0.186 H 307.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8039B2
RGBrgb(128, 57, 178)
HSLhsl(275, 51%, 46%)
HSVhsv(275, 68%, 70%)
CMYKcmyk(28.1%, 68%, 0%, 30.2%)
CIE-LABlab(39.12, 51.64, -51.94)
CIE-LCHlch(39.12, 73.24, 314.84°)
OKLaboklab(49.79% 0.1145 -0.1471)
OKLCHoklch(49.79% 0.186 307.9)
XYZxyz(18.3994, 10.7301, 43.2127)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039B2 #6BB239
analogous
#4439B2 #8039B2 #B239A7
triadic
#8039B2 #B28039 #39B280
tetradic
#8039B2 #B24439 #6BB239 #39A7B2
square
#8039B2 #B24439 #6BB239 #39A7B2
split-complementary
#8039B2 #A7B239 #39B244
monochromatic
#3D1B55 #5F2A84 #8039B2 #9E5DCB #BA8BDA

Accessibility & contrast

On white

6.68
#8039B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8039B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039B2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039B2#FFFFFF#000000##FFFFFF
##8039B21.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#1E5DAF
Tritanopia (blue-blind)
#785371
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8039b2;
/* rgb */ color: rgb(128, 57, 178);
/* oklch */ color: oklch(49.8% 0.186 307.9);
Tailwind
colors: {
  custom: {
    50: '#a975ca',
    500: '#8039b2',
    950: '#000000',
  },
}
SCSS
$custom: #8039b2;
$custom-light: #a975ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8039b2",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 275.207,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49786,
    "c": 0.18641,
    "h": 307.9
  },
  "luminance": 0.1073
}

Semantic roles & 50–950 ramp

primary
#8039B2
secondary
#9EC482
accent
#DB4D88
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8039B2

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

Preview Lab → · Contrast checker → · Palette generator →

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