#7B60DC#7B60DC

#7B60DC is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.9% C 0.182 H 289.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7B60DC
RGBrgb(123, 96, 220)
HSLhsl(253, 64%, 62%)
HSVhsv(253, 56%, 86%)
CMYKcmyk(44.1%, 56.4%, 0%, 13.7%)
CIE-LABlab(49.18, 40.53, -60.06)
CIE-LCHlch(49.18, 72.45, 304.01°)
OKLaboklab(57.88% 0.0607 -0.1712)
OKLCHoklch(57.88% 0.182 289.5)
XYZxyz(25.2659, 17.7431, 69.7898)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60DC #C1DC60
analogous
#6083DC #7B60DC #B960DC
triadic
#7B60DC #DC7B60 #60DC7B
tetradic
#7B60DC #DC6083 #C1DC60 #60DCB9
square
#7B60DC #DC6083 #C1DC60 #60DCB9
split-complementary
#7B60DC #DCB960 #83DC60
monochromatic
#3E239F #512ED1 #7B60DC #A592E7 #CEC4F2

Accessibility & contrast

On white

4.62
#7B60DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7B60DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B60DC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60DC#FFFFFF#000000##FFFFFF
##7B60DC1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1377E0
Deuteranopia (green-blind)
#1A72D9
Tritanopia (blue-blind)
#5E7B95
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b60dc;
/* rgb */ color: rgb(123, 96, 220);
/* oklch */ color: oklch(57.9% 0.182 289.5);
Tailwind
colors: {
  custom: {
    50: '#a78ee8',
    500: '#7b60dc',
    950: '#000000',
  },
}
SCSS
$custom: #7b60dc;
$custom-light: #a78ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60dc",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 220
  },
  "hsl": {
    "h": 253.065,
    "s": 63.918,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57877,
    "c": 0.18159,
    "h": 289.5
  },
  "luminance": 0.17744
}

Semantic roles & 50–950 ramp

primary
#7B60DC
secondary
#D9E3B5
accent
#CC1AA5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7B60DC

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

Preview Lab → · Contrast checker → · Palette generator →

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