#7D5CBF#7D5CBF

#7D5CBF is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.5% C 0.150 H 296.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7D5CBF
RGBrgb(125, 92, 191)
HSLhsl(260, 44%, 55%)
HSVhsv(260, 52%, 75%)
CMYKcmyk(34.6%, 51.8%, 0%, 25.1%)
CIE-LABlab(46.68, 35.36, -47.44)
CIE-LCHlch(46.68, 59.17, 306.70°)
OKLaboklab(55.49% 0.0671 -0.1341)
OKLCHoklch(55.49% 0.15 296.6)
XYZxyz(21.6862, 15.7755, 51.1825)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CBF #9EBF5C
analogous
#5C6CBF #7D5CBF #AE5CBF
triadic
#7D5CBF #BF7D5C #5CBF7D
tetradic
#7D5CBF #BF5C6C #9EBF5C #5CBFAE
square
#7D5CBF #BF5C6C #9EBF5C #5CBFAE
split-complementary
#7D5CBF #BFAE5C #6CBF5C
monochromatic
#452D73 #5F3F9F #7D5CBF #A088D0 #C3B4E2

Accessibility & contrast

On white

5.05
#7D5CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7D5CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5CBF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5CBF#FFFFFF#000000##FFFFFF
##7D5CBF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366FC2
Deuteranopia (green-blind)
#3E6DBD
Tritanopia (blue-blind)
#6E6F85
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d5cbf;
/* rgb */ color: rgb(125, 92, 191);
/* oklch */ color: oklch(55.5% 0.150 296.6);
Tailwind
colors: {
  custom: {
    50: '#a68bd3',
    500: '#7d5cbf',
    950: '#000000',
  },
}
SCSS
$custom: #7d5cbf;
$custom-light: #a68bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5cbf",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 191
  },
  "hsl": {
    "h": 260,
    "s": 43.612,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55493,
    "c": 0.14991,
    "h": 296.6
  },
  "luminance": 0.15776
}

Semantic roles & 50–950 ramp

primary
#7D5CBF
secondary
#C2D0A7
accent
#D354A9
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7D5CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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