#7D5BE3#7D5BE3

#7D5BE3 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.7% C 0.197 H 290.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7D5BE3
RGBrgb(125, 91, 227)
HSLhsl(255, 71%, 62%)
HSVhsv(255, 60%, 89%)
CMYKcmyk(44.9%, 59.9%, 0%, 11%)
CIE-LABlab(48.74, 45.75, -64.72)
CIE-LCHlch(48.74, 79.26, 305.26°)
OKLaboklab(57.75% 0.0687 -0.1848)
OKLCHoklch(57.75% 0.197 290.4)
XYZxyz(26.0598, 17.3873, 74.6412)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5BE3 #C1E35B
analogous
#5B7DE3 #7D5BE3 #C15BE3
triadic
#7D5BE3 #E37D5B #5BE37D
tetradic
#7D5BE3 #E35B7D #C1E35B #5BE3C1
square
#7D5BE3 #E35B7D #C1E35B #5BE3C1
split-complementary
#7D5BE3 #E3C15B #7DE35B
monochromatic
#3F1DA7 #5427DA #7D5BE3 #A68FEC #D0C4F5

Accessibility & contrast

On white

4.69
#7D5BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7D5BE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5BE3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5BE3#FFFFFF#000000##FFFFFF
##7D5BE31.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#5E7A96
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d5be3;
/* rgb */ color: rgb(125, 91, 227);
/* oklch */ color: oklch(57.7% 0.197 290.4);
Tailwind
colors: {
  custom: {
    50: '#a98bed',
    500: '#7d5be3',
    950: '#000000',
  },
}
SCSS
$custom: #7d5be3;
$custom-light: #a98bed;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5be3",
  "rgb": {
    "r": 125,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 255,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57747,
    "c": 0.19717,
    "h": 290.4
  },
  "luminance": 0.17388
}

Semantic roles & 50–950 ramp

primary
#7D5BE3
secondary
#D9E6B4
accent
#D313A3
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7D5BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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