#7D5EBB#7D5EBB

#7D5EBB is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.6% C 0.142 H 296.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7D5EBB
RGBrgb(125, 94, 187)
HSLhsl(260, 41%, 55%)
HSVhsv(260, 50%, 73%)
CMYKcmyk(33.2%, 49.7%, 0%, 26.7%)
CIE-LABlab(46.91, 33.13, -44.75)
CIE-LCHlch(46.91, 55.68, 306.52°)
OKLaboklab(55.59% 0.0641 -0.1262)
OKLCHoklch(55.59% 0.142 296.9)
XYZxyz(21.4276, 15.9530, 48.9544)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5EBB #9CBB5E
analogous
#5E6EBB #7D5EBB #AB5EBB
triadic
#7D5EBB #BB7D5E #5EBB7D
tetradic
#7D5EBB #BB5E6E #9CBB5E #5EBBAB
square
#7D5EBB #BB5E6E #9CBB5E #5EBBAB
split-complementary
#7D5EBB #BBAB5E #6EBB5E
monochromatic
#452F70 #5F419B #7D5EBB #A089CD #C2B4DF

Accessibility & contrast

On white

5.01
#7D5EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7D5EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5EBB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5EBB#FFFFFF#000000##FFFFFF
##7D5EBB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D70BE
Deuteranopia (green-blind)
#446EB9
Tritanopia (blue-blind)
#6F7084
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d5ebb;
/* rgb */ color: rgb(125, 94, 187);
/* oklch */ color: oklch(55.6% 0.142 296.9);
Tailwind
colors: {
  custom: {
    50: '#a58cd0',
    500: '#7d5ebb',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ebb;
$custom-light: #a58cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ebb",
  "rgb": {
    "r": 125,
    "g": 94,
    "b": 187
  },
  "hsl": {
    "h": 260,
    "s": 40.611,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55594,
    "c": 0.14153,
    "h": 296.9
  },
  "luminance": 0.15953
}

Semantic roles & 50–950 ramp

primary
#7D5EBB
secondary
#C1CEA7
accent
#D057A8
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #7D5EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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