#7B60B7#7B60B7

#7B60B7 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.5% C 0.133 H 296.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7B60B7
RGBrgb(123, 96, 183)
HSLhsl(259, 38%, 55%)
HSVhsv(259, 48%, 72%)
CMYKcmyk(32.8%, 47.5%, 0%, 28.2%)
CIE-LABlab(46.97, 30.36, -42.34)
CIE-LCHlch(46.97, 52.10, 305.64°)
OKLaboklab(55.52% 0.0584 -0.1192)
OKLCHoklch(55.52% 0.133 296.1)
XYZxyz(20.8964, 15.9953, 46.7770)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60B7 #9CB760
analogous
#6071B7 #7B60B7 #A760B7
triadic
#7B60B7 #B77B60 #60B77B
tetradic
#7B60B7 #B76071 #9CB760 #60B7A7
square
#7B60B7 #B76071 #9CB760 #60B7A7
split-complementary
#7B60B7 #B7A760 #71B760
monochromatic
#43316C #5D4496 #7B60B7 #9E8ACA #C1B4DD

Accessibility & contrast

On white

5.00
#7B60B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7B60B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B60B7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60B7#FFFFFF#000000##FFFFFF
##7B60B71.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4370BA
Deuteranopia (green-blind)
#486EB5
Tritanopia (blue-blind)
#6E7083
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b60b7;
/* rgb */ color: rgb(123, 96, 183);
/* oklch */ color: oklch(55.5% 0.133 296.1);
Tailwind
colors: {
  custom: {
    50: '#a48dcd',
    500: '#7b60b7',
    950: '#000000',
  },
}
SCSS
$custom: #7b60b7;
$custom-light: #a48dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60b7",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 183
  },
  "hsl": {
    "h": 258.621,
    "s": 37.662,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55517,
    "c": 0.13276,
    "h": 296.1
  },
  "luminance": 0.15996
}

Semantic roles & 50–950 ramp

primary
#7B60B7
secondary
#C0CCA7
accent
#CE5AAA
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #7B60B7

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

Preview Lab → · Contrast checker → · Palette generator →

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