#7D60CD#7D60CD

#7D60CD is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.1% C 0.162 H 292.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7D60CD
RGBrgb(125, 96, 205)
HSLhsl(256, 52%, 59%)
HSVhsv(256, 53%, 80%)
CMYKcmyk(39%, 53.2%, 0%, 19.6%)
CIE-LABlab(48.43, 36.81, -52.71)
CIE-LCHlch(48.43, 64.29, 304.93°)
OKLaboklab(57.06% 0.0628 -0.1495)
OKLCHoklch(57.06% 0.162 292.8)
XYZxyz(23.6568, 17.1329, 59.8063)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D60CD #B0CD60
analogous
#607ACD #7D60CD #B460CD
triadic
#7D60CD #CD7D60 #60CD7D
tetradic
#7D60CD #CD607A #B0CD60 #60CDB4
square
#7D60CD #CD607A #B0CD60 #60CDB4
split-complementary
#7D60CD #CDB460 #7ACD60
monochromatic
#442B88 #5B39B6 #7D60CD #A38FDC #C9BDEA

Accessibility & contrast

On white

4.74
#7D60CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7D60CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D60CD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D60CD#FFFFFF#000000##FFFFFF
##7D60CD1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3074D1
Deuteranopia (green-blind)
#3671CB
Tritanopia (blue-blind)
#68778D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d60cd;
/* rgb */ color: rgb(125, 96, 205);
/* oklch */ color: oklch(57.1% 0.162 292.8);
Tailwind
colors: {
  custom: {
    50: '#a78edd',
    500: '#7d60cd',
    950: '#000000',
  },
}
SCSS
$custom: #7d60cd;
$custom-light: #a78edd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d60cd",
  "rgb": {
    "r": 125,
    "g": 96,
    "b": 205
  },
  "hsl": {
    "h": 255.963,
    "s": 52.153,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5706,
    "c": 0.16218,
    "h": 292.8
  },
  "luminance": 0.17133
}

Semantic roles & 50–950 ramp

primary
#7D60CD
secondary
#CEDAAF
accent
#DC4CB5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D60CD

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

Preview Lab → · Contrast checker → · Palette generator →

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