#7E60DB#7E60DB

#7E60DB is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.1% C 0.180 H 291.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#7E60DB
RGBrgb(126, 96, 219)
HSLhsl(255, 63%, 62%)
HSVhsv(255, 56%, 86%)
CMYKcmyk(42.5%, 56.2%, 0%, 14.1%)
CIE-LABlab(49.39, 40.91, -59.14)
CIE-LCHlch(49.39, 71.91, 304.67°)
OKLaboklab(58.08% 0.0645 -0.1684)
OKLCHoklch(58.08% 0.18 291)
XYZxyz(25.5697, 17.9150, 69.1148)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E60DB #BDDB60
analogous
#6080DB #7E60DB #BC60DB
triadic
#7E60DB #DB7E60 #60DB7E
tetradic
#7E60DB #DB6080 #BDDB60 #60DBBC
square
#7E60DB #DB6080 #BDDB60 #60DBBC
split-complementary
#7E60DB #DBBC60 #80DB60
monochromatic
#41249D #562FCF #7E60DB #A692E6 #CFC4F2

Accessibility & contrast

On white

4.58
#7E60DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7E60DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E60DB
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E60DB#FFFFFF#000000##000000
##7E60DB1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1978DF
Deuteranopia (green-blind)
#2273D8
Tritanopia (blue-blind)
#647B94
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e60db;
/* rgb */ color: rgb(126, 96, 219);
/* oklch */ color: oklch(58.1% 0.180 291.0);
Tailwind
colors: {
  custom: {
    50: '#a98ee7',
    500: '#7e60db',
    950: '#000000',
  },
}
SCSS
$custom: #7e60db;
$custom-light: #a98ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e60db",
  "rgb": {
    "r": 126,
    "g": 96,
    "b": 219
  },
  "hsl": {
    "h": 254.634,
    "s": 63.077,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58077,
    "c": 0.18029,
    "h": 291
  },
  "luminance": 0.17916
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E60DB

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

Preview Lab → · Contrast checker → · Palette generator →

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