#7D5BE1#7D5BE1

#7D5BE1 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.6% C 0.195 H 290.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7D5BE1
RGBrgb(125, 91, 225)
HSLhsl(255, 69%, 62%)
HSVhsv(255, 60%, 88%)
CMYKcmyk(44.4%, 59.6%, 0%, 11.8%)
CIE-LABlab(48.61, 45.20, -63.81)
CIE-LCHlch(48.61, 78.19, 305.31°)
OKLaboklab(57.6% 0.0687 -0.1821)
OKLCHoklch(57.6% 0.195 290.7)
XYZxyz(25.7853, 17.2775, 73.1958)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5BE1 #BFE15B
analogous
#5B7CE1 #7D5BE1 #C05BE1
triadic
#7D5BE1 #E17D5B #5BE17D
tetradic
#7D5BE1 #E15B7C #BFE15B #5BE1C0
square
#7D5BE1 #E15B7C #BFE15B #5BE1C0
split-complementary
#7D5BE1 #E1C05B #7CE15B
monochromatic
#401EA4 #5427D7 #7D5BE1 #A68FEA #CFC2F4

Accessibility & contrast

On white

4.71
#7D5BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7D5BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5BE1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5BE1#FFFFFF#000000##FFFFFF
##7D5BE11.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#0070DE
Tritanopia (blue-blind)
#5F7995
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d5be1;
/* rgb */ color: rgb(125, 91, 225);
/* oklch */ color: oklch(57.6% 0.195 290.7);
Tailwind
colors: {
  custom: {
    50: '#a98beb',
    500: '#7d5be1',
    950: '#000000',
  },
}
SCSS
$custom: #7d5be1;
$custom-light: #a98beb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5be1",
  "rgb": {
    "r": 125,
    "g": 91,
    "b": 225
  },
  "hsl": {
    "h": 255.224,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57604,
    "c": 0.19469,
    "h": 290.7
  },
  "luminance": 0.17278
}

Semantic roles & 50–950 ramp

primary
#7D5BE1
secondary
#D8E5B3
accent
#D114A1
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7D5BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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