#7D5BBE#7D5BBE

#7D5BBE is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.3% C 0.150 H 297.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7D5BBE
RGBrgb(125, 91, 190)
HSLhsl(261, 43%, 55%)
HSVhsv(261, 52%, 75%)
CMYKcmyk(34.2%, 52.1%, 0%, 25.5%)
CIE-LABlab(46.39, 35.68, -47.32)
CIE-LCHlch(46.39, 59.26, 307.02°)
OKLaboklab(55.26% 0.0683 -0.1337)
OKLCHoklch(55.26% 0.15 297.1)
XYZxyz(21.4905, 15.5596, 50.5763)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5BBE #9CBE5B
analogous
#5B6BBE #7D5BBE #AE5BBE
triadic
#7D5BBE #BE7D5B #5BBE7D
tetradic
#7D5BBE #BE5B6B #9CBE5B #5BBEAE
square
#7D5BBE #BE5B6B #9CBE5B #5BBEAE
split-complementary
#7D5BBE #BEAE5B #6BBE5B
monochromatic
#452D72 #5F3E9D #7D5BBE #A087CF #C2B3E1

Accessibility & contrast

On white

5.11
#7D5BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7D5BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5BBE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5BBE#FFFFFF#000000##FFFFFF
##7D5BBE1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356EC1
Deuteranopia (green-blind)
#3E6DBC
Tritanopia (blue-blind)
#6E6E84
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d5bbe;
/* rgb */ color: rgb(125, 91, 190);
/* oklch */ color: oklch(55.3% 0.150 297.1);
Tailwind
colors: {
  custom: {
    50: '#a68ad2',
    500: '#7d5bbe',
    950: '#000000',
  },
}
SCSS
$custom: #7d5bbe;
$custom-light: #a68ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5bbe",
  "rgb": {
    "r": 125,
    "g": 91,
    "b": 190
  },
  "hsl": {
    "h": 260.606,
    "s": 43.231,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55261,
    "c": 0.15016,
    "h": 297.1
  },
  "luminance": 0.1556
}

Semantic roles & 50–950 ramp

primary
#7D5BBE
secondary
#C1CFA6
accent
#D355A8
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #7D5BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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