#7D55E4#7D55E4

#7D55E4 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 56.9% C 0.206 H 291.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7D55E4
RGBrgb(125, 85, 228)
HSLhsl(257, 73%, 61%)
HSVhsv(257, 63%, 89%)
CMYKcmyk(45.2%, 62.7%, 0%, 10.6%)
CIE-LABlab(47.57, 49.34, -67.19)
CIE-LCHlch(47.57, 83.36, 306.29°)
OKLaboklab(56.91% 0.075 -0.1921)
OKLCHoklch(56.91% 0.206 291.3)
XYZxyz(25.7056, 16.4575, 75.2060)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D55E4 #BCE455
analogous
#5575E4 #7D55E4 #C555E4
triadic
#7D55E4 #E47D55 #55E47D
tetradic
#7D55E4 #E45575 #BCE455 #55E4C5
square
#7D55E4 #E45575 #BCE455 #55E4C5
split-complementary
#7D55E4 #E4C555 #75E455
monochromatic
#411AA4 #5623D9 #7D55E4 #A58AEC #CEBFF5

Accessibility & contrast

On white

4.89
#7D55E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7D55E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D55E4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D55E4#FFFFFF#000000##FFFFFF
##7D55E41.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#006EE1
Tritanopia (blue-blind)
#5E7795
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d55e4;
/* rgb */ color: rgb(125, 85, 228);
/* oklch */ color: oklch(56.9% 0.206 291.3);
Tailwind
colors: {
  custom: {
    50: '#aa87ed',
    500: '#7d55e4',
    950: '#000000',
  },
}
SCSS
$custom: #7d55e4;
$custom-light: #aa87ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7d55e4",
  "rgb": {
    "r": 125,
    "g": 85,
    "b": 228
  },
  "hsl": {
    "h": 256.783,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56914,
    "c": 0.2062,
    "h": 291.3
  },
  "luminance": 0.16458
}

Semantic roles & 50–950 ramp

primary
#7D55E4
secondary
#D6E5B0
accent
#D5119E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D55E4

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

Preview Lab → · Contrast checker → · Palette generator →

#7D55E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva