#7B60D6#7B60D6

#7B60D6 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.5% C 0.174 H 290.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7B60D6
RGBrgb(123, 96, 214)
HSLhsl(254, 59%, 61%)
HSVhsv(254, 55%, 84%)
CMYKcmyk(42.5%, 55.1%, 0%, 16.1%)
CIE-LABlab(48.80, 38.84, -57.27)
CIE-LCHlch(48.80, 69.20, 304.15°)
OKLaboklab(57.47% 0.0606 -0.163)
OKLCHoklch(57.47% 0.174 290.4)
XYZxyz(24.4855, 17.4309, 65.6797)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60D6 #BBD660
analogous
#6080D6 #7B60D6 #B660D6
triadic
#7B60D6 #D67B60 #60D67B
tetradic
#7B60D6 #D66080 #BBD660 #60D6B6
square
#7B60D6 #D66080 #BBD660 #60D6B6
split-complementary
#7B60D6 #D6B660 #80D660
monochromatic
#402695 #5533C6 #7B60D6 #A391E3 #CCC1EF

Accessibility & contrast

On white

4.68
#7B60D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7B60D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B60D6
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60D6#FFFFFF#000000##FFFFFF
##7B60D61.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2176DA
Deuteranopia (green-blind)
#2771D3
Tritanopia (blue-blind)
#617992
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b60d6;
/* rgb */ color: rgb(123, 96, 214);
/* oklch */ color: oklch(57.5% 0.174 290.4);
Tailwind
colors: {
  custom: {
    50: '#a68ee3',
    500: '#7b60d6',
    950: '#000000',
  },
}
SCSS
$custom: #7b60d6;
$custom-light: #a68ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60d6",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 214
  },
  "hsl": {
    "h": 253.729,
    "s": 59,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5747,
    "c": 0.17386,
    "h": 290.4
  },
  "luminance": 0.17432
}

Semantic roles & 50–950 ramp

primary
#7B60D6
secondary
#D5DFB3
accent
#C71FA0
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84

Preview Lab

Preview with #7B60D6

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

Preview Lab → · Contrast checker → · Palette generator →

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