#7D5BEE#7D5BEE

#7D5BEE is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.6% C 0.211 H 288.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7D5BEE
RGBrgb(125, 91, 238)
HSLhsl(254, 81%, 65%)
HSVhsv(254, 62%, 93%)
CMYKcmyk(47.5%, 61.8%, 0%, 6.7%)
CIE-LABlab(49.51, 48.82, -69.67)
CIE-LCHlch(49.51, 85.07, 305.02°)
OKLaboklab(58.55% 0.068 -0.1994)
OKLCHoklch(58.55% 0.211 288.8)
XYZxyz(27.6267, 18.0140, 82.8937)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5BEE #CCEE5B
analogous
#5B82EE #7D5BEE #C75BEE
triadic
#7D5BEE #EE7D5B #5BEE7D
tetradic
#7D5BEE #EE5B82 #CCEE5B #5BEEC7
square
#7D5BEE #EE5B82 #CCEE5B #5BEEC7
split-complementary
#7D5BEE #EEC75B #82EE5B
monochromatic
#3A13BB #5124E8 #7D5BEE #A992F4 #D5CAF9

Accessibility & contrast

On white

4.56
#7D5BEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7D5BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5BEE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5BEE#FFFFFF#000000##000000
##7D5BEE1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F3
Deuteranopia (green-blind)
#0072EB
Tritanopia (blue-blind)
#587E9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d5bee;
/* rgb */ color: rgb(125, 91, 238);
/* oklch */ color: oklch(58.6% 0.211 288.8);
Tailwind
colors: {
  custom: {
    50: '#ab8bf4',
    500: '#7d5bee',
    950: '#000000',
  },
}
SCSS
$custom: #7d5bee;
$custom-light: #ab8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5bee",
  "rgb": {
    "r": 125,
    "g": 91,
    "b": 238
  },
  "hsl": {
    "h": 253.878,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58551,
    "c": 0.21065,
    "h": 288.8
  },
  "luminance": 0.18015
}

Semantic roles & 50–950 ramp

primary
#7D5BEE
secondary
#E0ECB9
accent
#DE08AC
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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