#7B60D7#7B60D7

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

Color values

HEX#7B60D7
RGBrgb(123, 96, 215)
HSLhsl(254, 60%, 61%)
HSVhsv(254, 55%, 84%)
CMYKcmyk(42.8%, 55.3%, 0%, 15.7%)
CIE-LABlab(48.86, 39.12, -57.73)
CIE-LCHlch(48.86, 69.74, 304.12°)
OKLaboklab(57.54% 0.0606 -0.1643)
OKLCHoklch(57.54% 0.175 290.2)
XYZxyz(24.6136, 17.4822, 66.3543)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60D7 #BCD760
analogous
#6080D7 #7B60D7 #B660D7
triadic
#7B60D7 #D77B60 #60D77B
tetradic
#7B60D7 #D76080 #BCD760 #60D7B6
square
#7B60D7 #D76080 #BCD760 #60D7B6
split-complementary
#7B60D7 #D7B660 #80D760
monochromatic
#3F2697 #5432C8 #7B60D7 #A491E3 #CCC2F0

Accessibility & contrast

On white

4.67
#7B60D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7B60D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B60D7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60D7#FFFFFF#000000##FFFFFF
##7B60D71.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F76DB
Deuteranopia (green-blind)
#2571D4
Tritanopia (blue-blind)
#607A92
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b60d7;
/* rgb */ color: rgb(123, 96, 215);
/* oklch */ color: oklch(57.5% 0.175 290.2);
Tailwind
colors: {
  custom: {
    50: '#a78ee4',
    500: '#7b60d7',
    950: '#000000',
  },
}
SCSS
$custom: #7b60d7;
$custom-light: #a78ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60d7",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 215
  },
  "hsl": {
    "h": 253.613,
    "s": 59.799,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57537,
    "c": 0.17515,
    "h": 290.2
  },
  "luminance": 0.17483
}

Semantic roles & 50–950 ramp

primary
#7B60D7
secondary
#D6E0B3
accent
#C71EA1
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7B60D7

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

Preview Lab → · Contrast checker → · Palette generator →

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