#7B60CC#7B60CC

#7B60CC is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.8% C 0.161 H 292.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7B60CC
RGBrgb(123, 96, 204)
HSLhsl(255, 51%, 59%)
HSVhsv(255, 53%, 80%)
CMYKcmyk(39.7%, 52.9%, 0%, 20%)
CIE-LABlab(48.18, 36.06, -52.55)
CIE-LCHlch(48.18, 63.73, 304.46°)
OKLaboklab(56.81% 0.0602 -0.1491)
OKLCHoklch(56.81% 0.161 292)
XYZxyz(23.2474, 16.9357, 59.1591)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60CC #B1CC60
analogous
#607BCC #7B60CC #B160CC
triadic
#7B60CC #CC7B60 #60CC7B
tetradic
#7B60CC #CC607B #B1CC60 #60CCB1
square
#7B60CC #CC607B #B1CC60 #60CCB1
split-complementary
#7B60CC #CCB160 #7BCC60
monochromatic
#422B86 #593AB5 #7B60CC #A18EDB #C8BDEA

Accessibility & contrast

On white

4.79
#7B60CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7B60CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B60CC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60CC#FFFFFF#000000##FFFFFF
##7B60CC1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3074D0
Deuteranopia (green-blind)
#3570CA
Tritanopia (blue-blind)
#66768D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b60cc;
/* rgb */ color: rgb(123, 96, 204);
/* oklch */ color: oklch(56.8% 0.161 292.0);
Tailwind
colors: {
  custom: {
    50: '#a68edc',
    500: '#7b60cc',
    950: '#000000',
  },
}
SCSS
$custom: #7b60cc;
$custom-light: #a68edc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60cc",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 204
  },
  "hsl": {
    "h": 255,
    "s": 51.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56812,
    "c": 0.1608,
    "h": 292
  },
  "luminance": 0.16936
}

Semantic roles & 50–950 ramp

primary
#7B60CC
secondary
#CFD9AF
accent
#DB4DB7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7B60CC

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

Preview Lab → · Contrast checker → · Palette generator →

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