#7C60A2#7C60A2

#7C60A2 is a mid, moderate violet. Relative luminance 0.153; OKLCH L 54.4% C 0.104 H 302.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7C60A2
RGBrgb(124, 96, 162)
HSLhsl(265, 26%, 51%)
HSVhsv(265, 41%, 64%)
CMYKcmyk(23.5%, 40.7%, 0%, 36.5%)
CIE-LABlab(45.99, 25.24, -31.57)
CIE-LCHlch(45.99, 40.42, 308.64°)
OKLaboklab(54.45% 0.0563 -0.0879)
OKLCHoklch(54.45% 0.104 302.6)
XYZxyz(19.0152, 15.2595, 36.1190)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C60A2 #86A260
analogous
#6065A2 #7C60A2 #9D60A2
triadic
#7C60A2 #A27C60 #60A27C
tetradic
#7C60A2 #A26065 #86A260 #60A29D
square
#7C60A2 #A26065 #86A260 #60A29D
split-complementary
#7C60A2 #A29D60 #65A260
monochromatic
#413256 #5E497C #7C60A2 #9C87B9 #BCADCF

Accessibility & contrast

On white

5.18
#7C60A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7C60A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C60A2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C60A2#FFFFFF#000000##FFFFFF
##7C60A21.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506CA4
Deuteranopia (green-blind)
#566DA0
Tritanopia (blue-blind)
#756B79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7c60a2;
/* rgb */ color: rgb(124, 96, 162);
/* oklch */ color: oklch(54.4% 0.104 302.6);
Tailwind
colors: {
  custom: {
    50: '#a38dbe',
    500: '#7c60a2',
    950: '#000000',
  },
}
SCSS
$custom: #7c60a2;
$custom-light: #a38dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#7c60a2",
  "rgb": {
    "r": 124,
    "g": 96,
    "b": 162
  },
  "hsl": {
    "h": 265.455,
    "s": 26.19,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54449,
    "c": 0.10433,
    "h": 302.6
  },
  "luminance": 0.15259
}

Semantic roles & 50–950 ramp

primary
#7C60A2
secondary
#B1BEA0
accent
#C3659B
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #7C60A2

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

Preview Lab → · Contrast checker → · Palette generator →

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