#7D60DB#7D60DB

#7D60DB is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.0% C 0.180 H 290.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7D60DB
RGBrgb(125, 96, 219)
HSLhsl(254, 63%, 62%)
HSVhsv(254, 56%, 86%)
CMYKcmyk(42.9%, 56.2%, 0%, 14.1%)
CIE-LABlab(49.30, 40.69, -59.29)
CIE-LCHlch(49.30, 71.91, 304.46°)
OKLaboklab(57.99% 0.0632 -0.1688)
OKLCHoklch(57.99% 0.18 290.5)
XYZxyz(25.4230, 17.8394, 69.1079)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D60DB #BEDB60
analogous
#6081DB #7D60DB #BA60DB
triadic
#7D60DB #DB7D60 #60DB7D
tetradic
#7D60DB #DB6081 #BEDB60 #60DBBA
square
#7D60DB #DB6081 #BEDB60 #60DBBA
split-complementary
#7D60DB #DBBA60 #81DB60
monochromatic
#40249D #552FCF #7D60DB #A692E6 #CFC4F2

Accessibility & contrast

On white

4.60
#7D60DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7D60DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D60DB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D60DB#FFFFFF#000000##FFFFFF
##7D60DB1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1877DF
Deuteranopia (green-blind)
#2072D8
Tritanopia (blue-blind)
#627B94
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d60db;
/* rgb */ color: rgb(125, 96, 219);
/* oklch */ color: oklch(58.0% 0.180 290.5);
Tailwind
colors: {
  custom: {
    50: '#a88ee7',
    500: '#7d60db',
    950: '#000000',
  },
}
SCSS
$custom: #7d60db;
$custom-light: #a88ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d60db",
  "rgb": {
    "r": 125,
    "g": 96,
    "b": 219
  },
  "hsl": {
    "h": 254.146,
    "s": 63.077,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57987,
    "c": 0.18029,
    "h": 290.5
  },
  "luminance": 0.1784
}

Semantic roles & 50–950 ramp

primary
#7D60DB
secondary
#D7E2B5
accent
#CB1BA1
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7D60DB

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

Preview Lab → · Contrast checker → · Palette generator →

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