#7E60CD#7E60CD

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

Color values

HEX#7E60CD
RGBrgb(126, 96, 205)
HSLhsl(257, 52%, 59%)
HSVhsv(257, 53%, 80%)
CMYKcmyk(38.5%, 53.2%, 0%, 19.6%)
CIE-LABlab(48.52, 37.05, -52.55)
CIE-LCHlch(48.52, 64.30, 305.19°)
OKLaboklab(57.15% 0.0641 -0.149)
OKLCHoklch(57.15% 0.162 293.3)
XYZxyz(23.8036, 17.2086, 59.8132)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E60CD #AFCD60
analogous
#6079CD #7E60CD #B560CD
triadic
#7E60CD #CD7E60 #60CD7E
tetradic
#7E60CD #CD6079 #AFCD60 #60CDB5
square
#7E60CD #CD6079 #AFCD60 #60CDB5
split-complementary
#7E60CD #CDB560 #79CD60
monochromatic
#442B88 #5C39B6 #7E60CD #A48FDC #CABDEA

Accessibility & contrast

On white

4.73
#7E60CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7E60CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E60CD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E60CD#FFFFFF#000000##FFFFFF
##7E60CD1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3075D1
Deuteranopia (green-blind)
#3771CB
Tritanopia (blue-blind)
#6A768D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e60cd;
/* rgb */ color: rgb(126, 96, 205);
/* oklch */ color: oklch(57.2% 0.162 293.3);
Tailwind
colors: {
  custom: {
    50: '#a88edd',
    500: '#7e60cd',
    950: '#000000',
  },
}
SCSS
$custom: #7e60cd;
$custom-light: #a88edd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e60cd",
  "rgb": {
    "r": 126,
    "g": 96,
    "b": 205
  },
  "hsl": {
    "h": 256.514,
    "s": 52.153,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57153,
    "c": 0.16223,
    "h": 293.3
  },
  "luminance": 0.17209
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E60CD

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

Preview Lab → · Contrast checker → · Palette generator →

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