#8055E2#8055E2

#8055E2 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.0% C 0.204 H 292.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8055E2
RGBrgb(128, 85, 226)
HSLhsl(258, 71%, 61%)
HSVhsv(258, 62%, 89%)
CMYKcmyk(43.4%, 62.4%, 0%, 11.4%)
CIE-LABlab(47.72, 49.39, -65.80)
CIE-LCHlch(47.72, 82.27, 306.89°)
OKLaboklab(57.05% 0.0791 -0.1879)
OKLCHoklch(57.05% 0.204 292.8)
XYZxyz(25.8743, 16.5764, 73.7731)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8055E2 #B7E255
analogous
#5570E2 #8055E2 #C655E2
triadic
#8055E2 #E28055 #55E280
tetradic
#8055E2 #E25570 #B7E255 #55E2C6
square
#8055E2 #E25570 #B7E255 #55E2C6
split-complementary
#8055E2 #E2C655 #70E255
monochromatic
#441BA1 #5A24D5 #8055E2 #A789EB #CEBEF4

Accessibility & contrast

On white

4.87
#8055E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8055E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8055E2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8055E2#FFFFFF#000000##FFFFFF
##8055E21.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#006FDF
Tritanopia (blue-blind)
#647694
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8055e2;
/* rgb */ color: rgb(128, 85, 226);
/* oklch */ color: oklch(57.0% 0.204 292.8);
Tailwind
colors: {
  custom: {
    50: '#ac87ec',
    500: '#8055e2',
    950: '#000000',
  },
}
SCSS
$custom: #8055e2;
$custom-light: #ac87ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8055e2",
  "rgb": {
    "r": 128,
    "g": 85,
    "b": 226
  },
  "hsl": {
    "h": 258.298,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57049,
    "c": 0.20387,
    "h": 292.8
  },
  "luminance": 0.16577
}

Semantic roles & 50–950 ramp

primary
#8055E2
secondary
#D4E4AF
accent
#D31398
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8055E2

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

Preview Lab → · Contrast checker → · Palette generator →

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