#7B60F6#7B60F6

#7B60F6 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.7% C 0.214 H 286.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7B60F6
RGBrgb(123, 96, 246)
HSLhsl(251, 89%, 67%)
HSVhsv(251, 61%, 96%)
CMYKcmyk(50%, 61%, 0%, 3.5%)
CIE-LABlab(50.95, 47.94, -71.81)
CIE-LCHlch(50.95, 86.34, 303.73°)
OKLaboklab(59.74% 0.0598 -0.2057)
OKLCHoklch(59.74% 0.214 286.2)
XYZxyz(28.9809, 19.2291, 89.3554)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60F6 #DBF660
analogous
#6090F6 #7B60F6 #C660F6
triadic
#7B60F6 #F67B60 #60F67B
tetradic
#7B60F6 #F66090 #DBF660 #60F6C6
square
#7B60F6 #F66090 #DBF660 #60F6C6
split-complementary
#7B60F6 #F6C660 #90F660
monochromatic
#2F0CD0 #4B26F3 #7B60F6 #AB9AF9 #DBD4FD

Accessibility & contrast

On white

4.33
#7B60F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7B60F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B60F6
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60F6#FFFFFF#000000##000000
##7B60F61.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFB
Deuteranopia (green-blind)
#0075F3
Tritanopia (blue-blind)
#4D84A2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b60f6;
/* rgb */ color: rgb(123, 96, 246);
/* oklch */ color: oklch(59.7% 0.214 286.2);
Tailwind
colors: {
  custom: {
    50: '#aa8efa',
    500: '#7b60f6',
    950: '#000000',
  },
}
SCSS
$custom: #7b60f6;
$custom-light: #aa8efa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60f6",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 246
  },
  "hsl": {
    "h": 250.8,
    "s": 89.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59738,
    "c": 0.21425,
    "h": 286.2
  },
  "luminance": 0.19231
}

Semantic roles & 50–950 ramp

primary
#7B60F6
secondary
#E8F1C1
accent
#E600BC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B60F6

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

Preview Lab → · Contrast checker → · Palette generator →

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