#7B60CD#7B60CD

#7B60CD is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.9% C 0.162 H 291.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7B60CD
RGBrgb(123, 96, 205)
HSLhsl(255, 52%, 59%)
HSVhsv(255, 53%, 80%)
CMYKcmyk(40%, 53.2%, 0%, 19.6%)
CIE-LABlab(48.24, 36.33, -53.02)
CIE-LCHlch(48.24, 64.28, 304.42°)
OKLaboklab(56.88% 0.0603 -0.1505)
OKLCHoklch(56.88% 0.162 291.8)
XYZxyz(23.3677, 16.9838, 59.7928)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60CD #B2CD60
analogous
#607CCD #7B60CD #B160CD
triadic
#7B60CD #CD7B60 #60CD7B
tetradic
#7B60CD #CD607C #B2CD60 #60CDB1
square
#7B60CD #CD607C #B2CD60 #60CDB1
split-complementary
#7B60CD #CDB160 #7CCD60
monochromatic
#422B88 #5839B6 #7B60CD #A28FDC #C8BDEA

Accessibility & contrast

On white

4.78
#7B60CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7B60CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B60CD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60CD#FFFFFF#000000##FFFFFF
##7B60CD1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F74D1
Deuteranopia (green-blind)
#3470CB
Tritanopia (blue-blind)
#65778D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b60cd;
/* rgb */ color: rgb(123, 96, 205);
/* oklch */ color: oklch(56.9% 0.162 291.8);
Tailwind
colors: {
  custom: {
    50: '#a68edd',
    500: '#7b60cd',
    950: '#000000',
  },
}
SCSS
$custom: #7b60cd;
$custom-light: #a68edd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60cd",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 205
  },
  "hsl": {
    "h": 254.862,
    "s": 52.153,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56877,
    "c": 0.16212,
    "h": 291.8
  },
  "luminance": 0.16984
}

Semantic roles & 50–950 ramp

primary
#7B60CD
secondary
#CFDAAF
accent
#DC4CB8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7B60CD

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

Preview Lab → · Contrast checker → · Palette generator →

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