#7C60DB#7C60DB

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

Color values

HEX#7C60DB
RGBrgb(124, 96, 219)
HSLhsl(254, 63%, 62%)
HSVhsv(254, 56%, 86%)
CMYKcmyk(43.4%, 56.2%, 0%, 14.1%)
CIE-LABlab(49.21, 40.47, -59.44)
CIE-LCHlch(49.21, 71.91, 304.25°)
OKLaboklab(57.9% 0.0619 -0.1693)
OKLCHoklch(57.9% 0.18 290.1)
XYZxyz(25.2777, 17.7644, 69.1011)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C60DB #BFDB60
analogous
#6081DB #7C60DB #BA60DB
triadic
#7C60DB #DB7C60 #60DB7C
tetradic
#7C60DB #DB6081 #BFDB60 #60DBBA
square
#7C60DB #DB6081 #BFDB60 #60DBBA
split-complementary
#7C60DB #DBBA60 #81DB60
monochromatic
#3F249D #532FCF #7C60DB #A592E6 #CEC4F2

Accessibility & contrast

On white

4.61
#7C60DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7C60DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7C60DB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C60DB#FFFFFF#000000##FFFFFF
##7C60DB1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1777DF
Deuteranopia (green-blind)
#1E72D8
Tritanopia (blue-blind)
#607B94
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7c60db;
/* rgb */ color: rgb(124, 96, 219);
/* oklch */ color: oklch(57.9% 0.180 290.1);
Tailwind
colors: {
  custom: {
    50: '#a88ee7',
    500: '#7c60db',
    950: '#000000',
  },
}
SCSS
$custom: #7c60db;
$custom-light: #a88ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c60db",
  "rgb": {
    "r": 124,
    "g": 96,
    "b": 219
  },
  "hsl": {
    "h": 253.659,
    "s": 63.077,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57897,
    "c": 0.1803,
    "h": 290.1
  },
  "luminance": 0.17765
}

Semantic roles & 50–950 ramp

primary
#7C60DB
secondary
#D8E2B5
accent
#CB1BA3
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7C60DB

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

Preview Lab → · Contrast checker → · Palette generator →

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