#7D5FBB#7D5FBB

#7D5FBB is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.8% C 0.140 H 296.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7D5FBB
RGBrgb(125, 95, 187)
HSLhsl(260, 40%, 55%)
HSVhsv(260, 49%, 73%)
CMYKcmyk(33.2%, 49.2%, 0%, 26.7%)
CIE-LABlab(47.15, 32.55, -44.37)
CIE-LCHlch(47.15, 55.03, 306.26°)
OKLaboklab(55.77% 0.0628 -0.1251)
OKLCHoklch(55.77% 0.14 296.6)
XYZxyz(21.5171, 16.1320, 48.9842)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5FBB #9DBB5F
analogous
#5F6FBB #7D5FBB #AB5FBB
triadic
#7D5FBB #BB7D5F #5FBB7D
tetradic
#7D5FBB #BB5F6F #9DBB5F #5FBBAB
square
#7D5FBB #BB5F6F #9DBB5F #5FBBAB
split-complementary
#7D5FBB #BBAB5F #6FBB5F
monochromatic
#453070 #5F429B #7D5FBB #A08ACD #C3B5E0

Accessibility & contrast

On white

4.97
#7D5FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7D5FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5FBB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5FBB#FFFFFF#000000##FFFFFF
##7D5FBB1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BE
Deuteranopia (green-blind)
#466FB9
Tritanopia (blue-blind)
#6F7184
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d5fbb;
/* rgb */ color: rgb(125, 95, 187);
/* oklch */ color: oklch(55.8% 0.140 296.6);
Tailwind
colors: {
  custom: {
    50: '#a58dd0',
    500: '#7d5fbb',
    950: '#000000',
  },
}
SCSS
$custom: #7d5fbb;
$custom-light: #a58dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5fbb",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 259.565,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55769,
    "c": 0.13994,
    "h": 296.6
  },
  "luminance": 0.16132
}

Semantic roles & 50–950 ramp

primary
#7D5FBB
secondary
#C2CEA8
accent
#D058A9
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #7D5FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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