#7B60A2#7B60A2

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

Color values

HEX#7B60A2
RGBrgb(123, 96, 162)
HSLhsl(265, 26%, 51%)
HSVhsv(265, 41%, 64%)
CMYKcmyk(24.1%, 40.7%, 0%, 36.5%)
CIE-LABlab(45.89, 24.94, -31.74)
CIE-LCHlch(45.89, 40.36, 308.16°)
OKLaboklab(54.35% 0.055 -0.0884)
OKLCHoklch(54.35% 0.104 301.9)
XYZxyz(18.8714, 15.1853, 36.1123)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60A2 #87A260
analogous
#6066A2 #7B60A2 #9C60A2
triadic
#7B60A2 #A27B60 #60A27B
tetradic
#7B60A2 #A26066 #87A260 #60A29C
square
#7B60A2 #A26066 #87A260 #60A29C
split-complementary
#7B60A2 #A29C60 #66A260
monochromatic
#413256 #5E497C #7B60A2 #9B87B9 #BBADCF

Accessibility & contrast

On white

5.20
#7B60A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7B60A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B60A2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60A2#FFFFFF#000000##FFFFFF
##7B60A21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506CA4
Deuteranopia (green-blind)
#556CA0
Tritanopia (blue-blind)
#746B79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b60a2;
/* rgb */ color: rgb(123, 96, 162);
/* oklch */ color: oklch(54.4% 0.104 301.9);
Tailwind
colors: {
  custom: {
    50: '#a28dbe',
    500: '#7b60a2',
    950: '#000000',
  },
}
SCSS
$custom: #7b60a2;
$custom-light: #a28dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60a2",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 162
  },
  "hsl": {
    "h": 264.545,
    "s": 26.19,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5435,
    "c": 0.10409,
    "h": 301.9
  },
  "luminance": 0.15185
}

Semantic roles & 50–950 ramp

primary
#7B60A2
secondary
#B2BEA0
accent
#C3659C
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #7B60A2

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

Preview Lab → · Contrast checker → · Palette generator →

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