#7B60D1#7B60D1

#7B60D1 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.1% C 0.167 H 291.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7B60D1
RGBrgb(123, 96, 209)
HSLhsl(254, 55%, 60%)
HSVhsv(254, 54%, 82%)
CMYKcmyk(41.1%, 54.1%, 0%, 18%)
CIE-LABlab(48.49, 37.45, -54.92)
CIE-LCHlch(48.49, 66.47, 304.29°)
OKLaboklab(57.14% 0.0605 -0.156)
OKLCHoklch(57.14% 0.167 291.2)
XYZxyz(23.8567, 17.1794, 62.3682)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60D1 #B6D160
analogous
#607ED1 #7B60D1 #B360D1
triadic
#7B60D1 #D17B60 #60D17B
tetradic
#7B60D1 #D1607E #B6D160 #60D1B3
square
#7B60D1 #D1607E #B6D160 #60D1B3
split-complementary
#7B60D1 #D1B360 #7ED160
monochromatic
#41298E #5737BD #7B60D1 #A28FDF #CABFEC

Accessibility & contrast

On white

4.73
#7B60D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7B60D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B60D1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60D1#FFFFFF#000000##FFFFFF
##7B60D11.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A75D5
Deuteranopia (green-blind)
#2F71CE
Tritanopia (blue-blind)
#63788F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b60d1;
/* rgb */ color: rgb(123, 96, 209);
/* oklch */ color: oklch(57.1% 0.167 291.2);
Tailwind
colors: {
  custom: {
    50: '#a68ee0',
    500: '#7b60d1',
    950: '#000000',
  },
}
SCSS
$custom: #7b60d1;
$custom-light: #a68ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60d1",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 209
  },
  "hsl": {
    "h": 254.336,
    "s": 55.122,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57138,
    "c": 0.16735,
    "h": 291.2
  },
  "luminance": 0.1718
}

Semantic roles & 50–950 ramp

primary
#7B60D1
secondary
#D2DCB1
accent
#DE49BB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7B60D1

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

Preview Lab → · Contrast checker → · Palette generator →

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