#7B60EB#7B60EB

#7B60EB is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 58.9% C 0.201 H 287.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7B60EB
RGBrgb(123, 96, 235)
HSLhsl(252, 78%, 65%)
HSVhsv(252, 59%, 92%)
CMYKcmyk(47.7%, 59.1%, 0%, 7.8%)
CIE-LABlab(50.18, 44.79, -66.90)
CIE-LCHlch(50.18, 80.51, 303.80°)
OKLaboklab(58.93% 0.0604 -0.1913)
OKLCHoklch(58.93% 0.201 287.5)
XYZxyz(27.3423, 18.5737, 80.7255)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60EB #D0EB60
analogous
#608AEB #7B60EB #C160EB
triadic
#7B60EB #EB7B60 #60EB7B
tetradic
#7B60EB #EB608A #D0EB60 #60EBC1
square
#7B60EB #EB608A #D0EB60 #60EBC1
split-complementary
#7B60EB #EBC160 #8AEB60
monochromatic
#3717B9 #4E2AE4 #7B60EB #A896F2 #D5CDF9

Accessibility & contrast

On white

4.45
#7B60EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7B60EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B60EB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60EB#FFFFFF#000000##000000
##7B60EB1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#55809C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b60eb;
/* rgb */ color: rgb(123, 96, 235);
/* oklch */ color: oklch(58.9% 0.201 287.5);
Tailwind
colors: {
  custom: {
    50: '#a98ef2',
    500: '#7b60eb',
    950: '#000000',
  },
}
SCSS
$custom: #7b60eb;
$custom-light: #a98ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60eb",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 235
  },
  "hsl": {
    "h": 251.655,
    "s": 77.654,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58932,
    "c": 0.20061,
    "h": 287.5
  },
  "luminance": 0.18575
}

Semantic roles & 50–950 ramp

primary
#7B60EB
secondary
#E2EBBC
accent
#DA0CB2
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B60EB

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

Preview Lab → · Contrast checker → · Palette generator →

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