#7B60D2#7B60D2

#7B60D2 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.2% C 0.169 H 291.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7B60D2
RGBrgb(123, 96, 210)
HSLhsl(254, 56%, 60%)
HSVhsv(254, 54%, 82%)
CMYKcmyk(41.4%, 54.3%, 0%, 17.6%)
CIE-LABlab(48.55, 37.72, -55.39)
CIE-LCHlch(48.55, 67.01, 304.26°)
OKLaboklab(57.2% 0.0605 -0.1574)
OKLCHoklch(57.2% 0.169 291)
XYZxyz(23.9809, 17.2291, 63.0223)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60D2 #B7D260
analogous
#607ED2 #7B60D2 #B460D2
triadic
#7B60D2 #D27B60 #60D27B
tetradic
#7B60D2 #D2607E #B7D260 #60D2B4
square
#7B60D2 #D2607E #B7D260 #60D2B4
split-complementary
#7B60D2 #D2B460 #7ED260
monochromatic
#41298F #5636BF #7B60D2 #A390DF #CABFED

Accessibility & contrast

On white

4.72
#7B60D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7B60D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B60D2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60D2#FFFFFF#000000##FFFFFF
##7B60D21.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2875D6
Deuteranopia (green-blind)
#2D71CF
Tritanopia (blue-blind)
#637890
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b60d2;
/* rgb */ color: rgb(123, 96, 210);
/* oklch */ color: oklch(57.2% 0.169 291.0);
Tailwind
colors: {
  custom: {
    50: '#a68ee0',
    500: '#7b60d2',
    950: '#000000',
  },
}
SCSS
$custom: #7b60d2;
$custom-light: #a68ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60d2",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 210
  },
  "hsl": {
    "h": 254.211,
    "s": 55.882,
    "l": 60
  },
  "oklch": {
    "l": 0.57204,
    "c": 0.16866,
    "h": 291
  },
  "luminance": 0.1723
}

Semantic roles & 50–950 ramp

primary
#7B60D2
secondary
#D2DDB1
accent
#DF49BC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7B60D2

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

Preview Lab → · Contrast checker → · Palette generator →

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