#7D5BCE#7D5BCE

#7D5BCE is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.3% C 0.171 H 293.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7D5BCE
RGBrgb(125, 91, 206)
HSLhsl(258, 54%, 58%)
HSVhsv(258, 56%, 81%)
CMYKcmyk(39.3%, 55.8%, 0%, 19.2%)
CIE-LABlab(47.36, 39.97, -54.99)
CIE-LCHlch(47.36, 67.99, 306.01°)
OKLaboklab(56.29% 0.069 -0.1562)
OKLCHoklch(56.29% 0.171 293.8)
XYZxyz(23.3362, 16.2978, 60.2968)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5BCE #ACCE5B
analogous
#5B72CE #7D5BCE #B65BCE
triadic
#7D5BCE #CE7D5B #5BCE7D
tetradic
#7D5BCE #CE5B72 #ACCE5B #5BCEB6
square
#7D5BCE #CE5B72 #ACCE5B #5BCEB6
split-complementary
#7D5BCE #CEB65B #72CE5B
monochromatic
#442886 #5C36B6 #7D5BCE #A28ADC #C8B9EA

Accessibility & contrast

On white

4.93
#7D5BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7D5BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5BCE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5BCE#FFFFFF#000000##FFFFFF
##7D5BCE1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2172D2
Deuteranopia (green-blind)
#2B6ECB
Tritanopia (blue-blind)
#68738C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d5bce;
/* rgb */ color: rgb(125, 91, 206);
/* oklch */ color: oklch(56.3% 0.171 293.8);
Tailwind
colors: {
  custom: {
    50: '#a78ade',
    500: '#7d5bce',
    950: '#000000',
  },
}
SCSS
$custom: #7d5bce;
$custom-light: #a78ade;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5bce",
  "rgb": {
    "r": 125,
    "g": 91,
    "b": 206
  },
  "hsl": {
    "h": 257.739,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56293,
    "c": 0.17079,
    "h": 293.8
  },
  "luminance": 0.16298
}

Semantic roles & 50–950 ramp

primary
#7D5BCE
secondary
#CCD9AB
accent
#DD4AB2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D5BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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