#8047E2#8047E2

#8047E2 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.1% C 0.221 H 294.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8047E2
RGBrgb(128, 71, 226)
HSLhsl(262, 73%, 58%)
HSVhsv(262, 69%, 89%)
CMYKcmyk(43.4%, 68.6%, 0%, 11.4%)
CIE-LABlab(45.06, 56.64, -70.12)
CIE-LCHlch(45.06, 90.14, 308.93°)
OKLaboklab(55.13% 0.0933 -0.2006)
OKLCHoklch(55.13% 0.221 294.9)
XYZxyz(24.8791, 14.5860, 73.4413)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8047E2 #A9E247
analogous
#475BE2 #8047E2 #CE47E2
triadic
#8047E2 #E28047 #47E280
tetradic
#8047E2 #E2475B #A9E247 #47E2CE
square
#8047E2 #E2475B #A9E247 #47E2CE
split-complementary
#8047E2 #E2CE47 #5BE247
monochromatic
#461897 #5F20CC #8047E2 #A47CEA #C9B1F3

Accessibility & contrast

On white

5.36
#8047E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8047E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8047E2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8047E2#FFFFFF#000000##FFFFFF
##8047E21.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#656D8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8047e2;
/* rgb */ color: rgb(128, 71, 226);
/* oklch */ color: oklch(55.1% 0.221 294.9);
Tailwind
colors: {
  custom: {
    50: '#ac7eec',
    500: '#8047e2',
    950: '#000000',
  },
}
SCSS
$custom: #8047e2;
$custom-light: #ac7eec;
$custom-dark: #000000;
JSON
{
  "hex": "#8047e2",
  "rgb": {
    "r": 128,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 262.065,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55134,
    "c": 0.22121,
    "h": 294.9
  },
  "luminance": 0.14587
}

Semantic roles & 50–950 ramp

primary
#8047E2
secondary
#CBE1A4
accent
#EF38AC
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8047E2

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

Preview Lab → · Contrast checker → · Palette generator →

#8047E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva