#7B60E7#7B60E7

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

Color values

HEX#7B60E7
RGBrgb(123, 96, 231)
HSLhsl(252, 74%, 64%)
HSVhsv(252, 58%, 91%)
CMYKcmyk(46.8%, 58.4%, 0%, 9.4%)
CIE-LABlab(49.91, 43.65, -65.10)
CIE-LCHlch(49.91, 78.37, 303.84°)
OKLaboklab(58.65% 0.0605 -0.186)
OKLCHoklch(58.65% 0.196 288)
XYZxyz(26.7709, 18.3451, 77.7162)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60E7 #CCE760
analogous
#6089E7 #7B60E7 #BF60E7
triadic
#7B60E7 #E77B60 #60E77B
tetradic
#7B60E7 #E76089 #CCE760 #60E7BF
square
#7B60E7 #E76089 #CCE760 #60E7BF
split-complementary
#7B60E7 #E7BF60 #89E760
monochromatic
#391BB2 #4F2BDF #7B60E7 #A795EF #D3CAF7

Accessibility & contrast

On white

4.50
#7B60E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7B60E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B60E7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60E7#FFFFFF#000000##000000
##7B60E71.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#0073E4
Tritanopia (blue-blind)
#587F9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b60e7;
/* rgb */ color: rgb(123, 96, 231);
/* oklch */ color: oklch(58.6% 0.196 288.0);
Tailwind
colors: {
  custom: {
    50: '#a88eef',
    500: '#7b60e7',
    950: '#000000',
  },
}
SCSS
$custom: #7b60e7;
$custom-light: #a88eef;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60e7",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 231
  },
  "hsl": {
    "h": 252,
    "s": 73.77,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58646,
    "c": 0.19558,
    "h": 288
  },
  "luminance": 0.18346
}

Semantic roles & 50–950 ramp

primary
#7B60E7
secondary
#E0E9BA
accent
#D610AE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7B60E7

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

Preview Lab → · Contrast checker → · Palette generator →

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