#7D55D5#7D55D5

#7D55D5 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.8% C 0.188 H 293.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7D55D5
RGBrgb(125, 85, 213)
HSLhsl(259, 60%, 58%)
HSVhsv(259, 60%, 84%)
CMYKcmyk(41.3%, 60.1%, 0%, 16.5%)
CIE-LABlab(46.53, 45.26, -60.35)
CIE-LCHlch(46.53, 75.43, 306.87°)
OKLaboklab(55.82% 0.0759 -0.172)
OKLCHoklch(55.82% 0.188 293.8)
XYZxyz(23.7130, 15.6605, 64.7113)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D55D5 #ADD555
analogous
#556DD5 #7D55D5 #BD55D5
triadic
#7D55D5 #D57D55 #55D57D
tetradic
#7D55D5 #D5556D #ADD555 #55D5BD
square
#7D55D5 #D5556D #ADD555 #55D5BD
split-complementary
#7D55D5 #D5BD55 #6DD555
monochromatic
#44238D #5C2FBE #7D55D5 #A386E1 #C8B7ED

Accessibility & contrast

On white

5.08
#7D55D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7D55D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D55D5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D55D5#FFFFFF#000000##FFFFFF
##7D55D51.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#066CD2
Tritanopia (blue-blind)
#66718D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d55d5;
/* rgb */ color: rgb(125, 85, 213);
/* oklch */ color: oklch(55.8% 0.188 293.8);
Tailwind
colors: {
  custom: {
    50: '#a886e3',
    500: '#7d55d5',
    950: '#000000',
  },
}
SCSS
$custom: #7d55d5;
$custom-light: #a886e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d55d5",
  "rgb": {
    "r": 125,
    "g": 85,
    "b": 213
  },
  "hsl": {
    "h": 258.75,
    "s": 60.377,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55824,
    "c": 0.188,
    "h": 293.8
  },
  "luminance": 0.15661
}

Semantic roles & 50–950 ramp

primary
#7D55D5
secondary
#CCDCA9
accent
#E444B2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #7D55D5

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

Preview Lab → · Contrast checker → · Palette generator →

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