#7D5ABA#7D5ABA

#7D5ABA is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.8% C 0.147 H 298.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7D5ABA
RGBrgb(125, 90, 186)
HSLhsl(262, 41%, 54%)
HSVhsv(262, 52%, 73%)
CMYKcmyk(32.8%, 51.6%, 0%, 27.1%)
CIE-LABlab(45.93, 35.21, -45.73)
CIE-LCHlch(45.93, 57.71, 307.59°)
OKLaboklab(54.84% 0.0694 -0.129)
OKLCHoklch(54.84% 0.147 298.3)
XYZxyz(20.9744, 15.2173, 48.2770)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5ABA #97BA5A
analogous
#5A67BA #7D5ABA #AD5ABA
triadic
#7D5ABA #BA7D5A #5ABA7D
tetradic
#7D5ABA #BA5A67 #97BA5A #5ABAAD
square
#7D5ABA #BA5A67 #97BA5A #5ABAAD
split-complementary
#7D5ABA #BAAD5A #67BA5A
monochromatic
#442D6C #5F3F97 #7D5ABA #9F85CC #C1B0DE

Accessibility & contrast

On white

5.19
#7D5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7D5ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5ABA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5ABA#FFFFFF#000000##FFFFFF
##7D5ABA1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376DBD
Deuteranopia (green-blind)
#406CB8
Tritanopia (blue-blind)
#706D81
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d5aba;
/* rgb */ color: rgb(125, 90, 186);
/* oklch */ color: oklch(54.8% 0.147 298.3);
Tailwind
colors: {
  custom: {
    50: '#a689cf',
    500: '#7d5aba',
    950: '#000000',
  },
}
SCSS
$custom: #7d5aba;
$custom-light: #a689cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5aba",
  "rgb": {
    "r": 125,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 261.875,
    "s": 41.026,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54843,
    "c": 0.14651,
    "h": 298.3
  },
  "luminance": 0.15217
}

Semantic roles & 50–950 ramp

primary
#7D5ABA
secondary
#BDCCA3
accent
#D157A4
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7D5ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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