#7B60E6#7B60E6

#7B60E6 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.6% C 0.194 H 288.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7B60E6
RGBrgb(123, 96, 230)
HSLhsl(252, 73%, 64%)
HSVhsv(252, 58%, 90%)
CMYKcmyk(46.5%, 58.3%, 0%, 9.8%)
CIE-LABlab(49.84, 43.36, -64.64)
CIE-LCHlch(49.84, 77.84, 303.85°)
OKLaboklab(58.58% 0.0606 -0.1846)
OKLCHoklch(58.58% 0.194 288.2)
XYZxyz(26.6301, 18.2888, 76.9745)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60E6 #CBE660
analogous
#6088E6 #7B60E6 #BE60E6
triadic
#7B60E6 #E67B60 #60E67B
tetradic
#7B60E6 #E66088 #CBE660 #60E6BE
square
#7B60E6 #E66088 #CBE660 #60E6BE
split-complementary
#7B60E6 #E6BE60 #88E660
monochromatic
#3A1CB0 #4F2BDE #7B60E6 #A795EE #D3CAF7

Accessibility & contrast

On white

4.51
#7B60E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7B60E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B60E6
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60E6#FFFFFF#000000##000000
##7B60E61.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#587E9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b60e6;
/* rgb */ color: rgb(123, 96, 230);
/* oklch */ color: oklch(58.6% 0.194 288.2);
Tailwind
colors: {
  custom: {
    50: '#a88eef',
    500: '#7b60e6',
    950: '#000000',
  },
}
SCSS
$custom: #7b60e6;
$custom-light: #a88eef;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60e6",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 230
  },
  "hsl": {
    "h": 252.09,
    "s": 72.826,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58575,
    "c": 0.19432,
    "h": 288.2
  },
  "luminance": 0.1829
}

Semantic roles & 50–950 ramp

primary
#7B60E6
secondary
#DFE8B9
accent
#D511AD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7B60E6

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

Preview Lab → · Contrast checker → · Palette generator →

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