#7D5BED#7D5BED

#7D5BED is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.5% C 0.209 H 289.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7D5BED
RGBrgb(125, 91, 237)
HSLhsl(254, 80%, 64%)
HSVhsv(254, 62%, 93%)
CMYKcmyk(47.3%, 61.6%, 0%, 7.1%)
CIE-LABlab(49.44, 48.54, -69.22)
CIE-LCHlch(49.44, 84.55, 305.04°)
OKLaboklab(58.48% 0.0681 -0.1981)
OKLCHoklch(58.48% 0.209 289)
XYZxyz(27.4802, 17.9554, 82.1222)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5BED #CBED5B
analogous
#5B82ED #7D5BED #C65BED
triadic
#7D5BED #ED7D5B #5BED7D
tetradic
#7D5BED #ED5B82 #CBED5B #5BEDC6
square
#7D5BED #ED5B82 #CBED5B #5BEDC6
split-complementary
#7D5BED #EDC65B #82ED5B
monochromatic
#3B14B9 #5124E7 #7D5BED #A992F3 #D4C9F9

Accessibility & contrast

On white

4.57
#7D5BED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7D5BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5BED
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5BED#FFFFFF#000000##000000
##7D5BED1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#0072EA
Tritanopia (blue-blind)
#587D9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d5bed;
/* rgb */ color: rgb(125, 91, 237);
/* oklch */ color: oklch(58.5% 0.209 289.0);
Tailwind
colors: {
  custom: {
    50: '#ab8bf4',
    500: '#7d5bed',
    950: '#000000',
  },
}
SCSS
$custom: #7d5bed;
$custom-light: #ab8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5bed",
  "rgb": {
    "r": 125,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 253.973,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58477,
    "c": 0.20943,
    "h": 289
  },
  "luminance": 0.17957
}

Semantic roles & 50–950 ramp

primary
#7D5BED
secondary
#DFEBB9
accent
#DD09AB
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5BED

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

Preview Lab → · Contrast checker → · Palette generator →

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