#7D55D7#7D55D7

#7D55D7 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.0% C 0.190 H 293.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7D55D7
RGBrgb(125, 85, 215)
HSLhsl(258, 62%, 59%)
HSVhsv(258, 60%, 84%)
CMYKcmyk(41.9%, 60.5%, 0%, 15.7%)
CIE-LABlab(46.66, 45.80, -61.27)
CIE-LCHlch(46.66, 76.50, 306.78°)
OKLaboklab(55.97% 0.0759 -0.1747)
OKLCHoklch(55.97% 0.19 293.5)
XYZxyz(23.9684, 15.7626, 66.0565)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D55D7 #AFD755
analogous
#556ED7 #7D55D7 #BE55D7
triadic
#7D55D7 #D77D55 #55D77D
tetradic
#7D55D7 #D7556E #AFD755 #55D7BE
square
#7D55D7 #D7556E #AFD755 #55D7BE
split-complementary
#7D55D7 #D7BE55 #6ED755
monochromatic
#442290 #5B2DC1 #7D55D7 #A387E3 #C9B8EE

Accessibility & contrast

On white

5.06
#7D55D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7D55D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D55D7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D55D7#FFFFFF#000000##FFFFFF
##7D55D71.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#006CD4
Tritanopia (blue-blind)
#65728E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d55d7;
/* rgb */ color: rgb(125, 85, 215);
/* oklch */ color: oklch(56.0% 0.190 293.5);
Tailwind
colors: {
  custom: {
    50: '#a887e4',
    500: '#7d55d7',
    950: '#000000',
  },
}
SCSS
$custom: #7d55d7;
$custom-light: #a887e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d55d7",
  "rgb": {
    "r": 125,
    "g": 85,
    "b": 215
  },
  "hsl": {
    "h": 258.462,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55966,
    "c": 0.19045,
    "h": 293.5
  },
  "luminance": 0.15763
}

Semantic roles & 50–950 ramp

primary
#7D55D7
secondary
#CEDEAA
accent
#E543B3
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7D55D7

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

Preview Lab → · Contrast checker → · Palette generator →

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