#7B60D5#7B60D5

#7B60D5 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.4% C 0.173 H 290.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7B60D5
RGBrgb(123, 96, 213)
HSLhsl(254, 58%, 61%)
HSVhsv(254, 55%, 84%)
CMYKcmyk(42.3%, 54.9%, 0%, 16.5%)
CIE-LABlab(48.74, 38.56, -56.80)
CIE-LCHlch(48.74, 68.65, 304.17°)
OKLaboklab(57.4% 0.0606 -0.1616)
OKLCHoklch(57.4% 0.173 290.6)
XYZxyz(24.3582, 17.3800, 65.0092)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60D5 #BAD560
analogous
#607FD5 #7B60D5 #B560D5
triadic
#7B60D5 #D57B60 #60D57B
tetradic
#7B60D5 #D5607F #BAD560 #60D5B5
square
#7B60D5 #D5607F #BAD560 #60D5B5
split-complementary
#7B60D5 #D5B560 #7FD560
monochromatic
#402794 #5534C4 #7B60D5 #A390E2 #CBC1EF

Accessibility & contrast

On white

4.69
#7B60D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7B60D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B60D5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60D5#FFFFFF#000000##FFFFFF
##7B60D51.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2376D9
Deuteranopia (green-blind)
#2971D2
Tritanopia (blue-blind)
#617991
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b60d5;
/* rgb */ color: rgb(123, 96, 213);
/* oklch */ color: oklch(57.4% 0.173 290.6);
Tailwind
colors: {
  custom: {
    50: '#a68ee3',
    500: '#7b60d5',
    950: '#000000',
  },
}
SCSS
$custom: #7b60d5;
$custom-light: #a68ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60d5",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 213
  },
  "hsl": {
    "h": 253.846,
    "s": 58.209,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57403,
    "c": 0.17256,
    "h": 290.6
  },
  "luminance": 0.17381
}

Semantic roles & 50–950 ramp

primary
#7B60D5
secondary
#D4DFB2
accent
#C6209F
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7B60D5

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

Preview Lab → · Contrast checker → · Palette generator →

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