#7D5BE2#7D5BE2

#7D5BE2 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.7% C 0.196 H 290.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7D5BE2
RGBrgb(125, 91, 226)
HSLhsl(255, 70%, 62%)
HSVhsv(255, 60%, 89%)
CMYKcmyk(44.7%, 59.7%, 0%, 11.4%)
CIE-LABlab(48.68, 45.48, -64.26)
CIE-LCHlch(48.68, 78.73, 305.28°)
OKLaboklab(57.68% 0.0687 -0.1835)
OKLCHoklch(57.68% 0.196 290.5)
XYZxyz(25.9222, 17.3322, 73.9164)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5BE2 #C0E25B
analogous
#5B7DE2 #7D5BE2 #C05BE2
triadic
#7D5BE2 #E27D5B #5BE27D
tetradic
#7D5BE2 #E25B7D #C0E25B #5BE2C0
square
#7D5BE2 #E25B7D #C0E25B #5BE2C0
split-complementary
#7D5BE2 #E2C05B #7DE25B
monochromatic
#401DA5 #5427D9 #7D5BE2 #A68FEB #CFC3F4

Accessibility & contrast

On white

4.70
#7D5BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7D5BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5BE2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5BE2#FFFFFF#000000##FFFFFF
##7D5BE21.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#5F7A96
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d5be2;
/* rgb */ color: rgb(125, 91, 226);
/* oklch */ color: oklch(57.7% 0.196 290.5);
Tailwind
colors: {
  custom: {
    50: '#a98bec',
    500: '#7d5be2',
    950: '#000000',
  },
}
SCSS
$custom: #7d5be2;
$custom-light: #a98bec;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5be2",
  "rgb": {
    "r": 125,
    "g": 91,
    "b": 226
  },
  "hsl": {
    "h": 255.111,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57676,
    "c": 0.19593,
    "h": 290.5
  },
  "luminance": 0.17333
}

Semantic roles & 50–950 ramp

primary
#7D5BE2
secondary
#D9E5B4
accent
#D214A2
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7D5BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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