#7E60BB#7E60BB

#7E60BB is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.0% C 0.138 H 296.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7E60BB
RGBrgb(126, 96, 187)
HSLhsl(260, 40%, 55%)
HSVhsv(260, 49%, 73%)
CMYKcmyk(32.6%, 48.7%, 0%, 26.7%)
CIE-LABlab(47.48, 32.23, -43.84)
CIE-LCHlch(47.48, 54.41, 306.32°)
OKLaboklab(56.04% 0.0627 -0.1235)
OKLCHoklch(56.04% 0.138 296.9)
XYZxyz(21.7545, 16.3889, 49.0213)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E60BB #9DBB60
analogous
#606FBB #7E60BB #AB60BB
triadic
#7E60BB #BB7E60 #60BB7E
tetradic
#7E60BB #BB606F #9DBB60 #60BBAB
square
#7E60BB #BB606F #9DBB60 #60BBAB
split-complementary
#7E60BB #BBAB60 #6FBB60
monochromatic
#453070 #60429B #7E60BB #A18BCD #C4B6E0

Accessibility & contrast

On white

4.91
#7E60BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7E60BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E60BB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E60BB#FFFFFF#000000##FFFFFF
##7E60BB1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4171BE
Deuteranopia (green-blind)
#4870B9
Tritanopia (blue-blind)
#717185
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e60bb;
/* rgb */ color: rgb(126, 96, 187);
/* oklch */ color: oklch(56.0% 0.138 296.9);
Tailwind
colors: {
  custom: {
    50: '#a68ed0',
    500: '#7e60bb',
    950: '#000000',
  },
}
SCSS
$custom: #7e60bb;
$custom-light: #a68ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e60bb",
  "rgb": {
    "r": 126,
    "g": 96,
    "b": 187
  },
  "hsl": {
    "h": 259.78,
    "s": 40.088,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56041,
    "c": 0.13849,
    "h": 296.9
  },
  "luminance": 0.16389
}

Semantic roles & 50–950 ramp

primary
#7E60BB
secondary
#C2CEA8
accent
#D058A8
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #7E60BB

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

Preview Lab → · Contrast checker → · Palette generator →

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