#7D5CDB#7D5CDB

#7D5CDB is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.3% C 0.186 H 291.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7D5CDB
RGBrgb(125, 92, 219)
HSLhsl(256, 64%, 61%)
HSVhsv(256, 58%, 86%)
CMYKcmyk(42.9%, 58%, 0%, 14.1%)
CIE-LABlab(48.42, 42.97, -60.71)
CIE-LCHlch(48.42, 74.38, 305.29°)
OKLaboklab(57.34% 0.0678 -0.173)
OKLCHoklch(57.34% 0.186 291.4)
XYZxyz(25.0672, 17.1280, 68.9894)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CDB #BADB5C
analogous
#5C7ADB #7D5CDB #BD5CDB
triadic
#7D5CDB #DB7D5C #5CDB7D
tetradic
#7D5CDB #DB5C7A #BADB5C #5CDBBD
square
#7D5CDB #DB5C7A #BADB5C #5CDBBD
split-complementary
#7D5CDB #DBBD5C #7ADB5C
monochromatic
#41229A #572DCD #7D5CDB #A58EE6 #CDC0F1

Accessibility & contrast

On white

4.74
#7D5CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7D5CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5CDB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5CDB#FFFFFF#000000##FFFFFF
##7D5CDB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#1270D8
Tritanopia (blue-blind)
#627893
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d5cdb;
/* rgb */ color: rgb(125, 92, 219);
/* oklch */ color: oklch(57.3% 0.186 291.4);
Tailwind
colors: {
  custom: {
    50: '#a88be7',
    500: '#7d5cdb',
    950: '#000000',
  },
}
SCSS
$custom: #7d5cdb;
$custom-light: #a88be7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5cdb",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 255.591,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57339,
    "c": 0.18584,
    "h": 291.4
  },
  "luminance": 0.17129
}

Semantic roles & 50–950 ramp

primary
#7D5CDB
secondary
#D5E1B1
accent
#CC1A9D
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7D5CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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