#7B60B2#7B60B2

#7B60B2 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.2% C 0.126 H 297.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7B60B2
RGBrgb(123, 96, 178)
HSLhsl(260, 35%, 54%)
HSVhsv(260, 46%, 70%)
CMYKcmyk(30.9%, 46.1%, 0%, 30.2%)
CIE-LABlab(46.70, 29.04, -39.86)
CIE-LCHlch(46.70, 49.31, 306.08°)
OKLaboklab(55.23% 0.0578 -0.1119)
OKLCHoklch(55.23% 0.126 297.3)
XYZxyz(20.3852, 15.7908, 44.0848)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60B2 #97B260
analogous
#606EB2 #7B60B2 #A460B2
triadic
#7B60B2 #B27B60 #60B27B
tetradic
#7B60B2 #B2606E #97B260 #60B2A4
square
#7B60B2 #B2606E #97B260 #60B2A4
split-complementary
#7B60B2 #B2A460 #6EB260
monochromatic
#433166 #5E458F #7B60B2 #9D89C6 #BFB2DA

Accessibility & contrast

On white

5.05
#7B60B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7B60B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B60B2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60B2#FFFFFF#000000##FFFFFF
##7B60B21.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466FB5
Deuteranopia (green-blind)
#4C6EB0
Tritanopia (blue-blind)
#6F6F80
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b60b2;
/* rgb */ color: rgb(123, 96, 178);
/* oklch */ color: oklch(55.2% 0.126 297.3);
Tailwind
colors: {
  custom: {
    50: '#a38dc9',
    500: '#7b60b2',
    950: '#000000',
  },
}
SCSS
$custom: #7b60b2;
$custom-light: #a38dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60b2",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 178
  },
  "hsl": {
    "h": 259.756,
    "s": 34.746,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55227,
    "c": 0.12597,
    "h": 297.3
  },
  "luminance": 0.15791
}

Semantic roles & 50–950 ramp

primary
#7B60B2
secondary
#BDC8A5
accent
#CB5DA7
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #7B60B2

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

Preview Lab → · Contrast checker → · Palette generator →

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