#7B60CB#7B60CB

#7B60CB is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.7% C 0.159 H 292.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7B60CB
RGBrgb(123, 96, 203)
HSLhsl(255, 51%, 59%)
HSVhsv(255, 53%, 80%)
CMYKcmyk(39.4%, 52.7%, 0%, 20.4%)
CIE-LABlab(48.12, 35.78, -52.07)
CIE-LCHlch(48.12, 63.18, 304.50°)
OKLaboklab(56.75% 0.0602 -0.1477)
OKLCHoklch(56.75% 0.159 292.2)
XYZxyz(23.1278, 16.8879, 58.5295)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60CB #B0CB60
analogous
#607ACB #7B60CB #B060CB
triadic
#7B60CB #CB7B60 #60CB7B
tetradic
#7B60CB #CB607A #B0CB60 #60CBB0
square
#7B60CB #CB607A #B0CB60 #60CBB0
split-complementary
#7B60CB #CBB060 #7ACB60
monochromatic
#422C85 #593BB3 #7B60CB #A18EDA #C8BCE9

Accessibility & contrast

On white

4.80
#7B60CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7B60CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B60CB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60CB#FFFFFF#000000##FFFFFF
##7B60CB1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3174CF
Deuteranopia (green-blind)
#3670C9
Tritanopia (blue-blind)
#66768C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b60cb;
/* rgb */ color: rgb(123, 96, 203);
/* oklch */ color: oklch(56.7% 0.159 292.2);
Tailwind
colors: {
  custom: {
    50: '#a58edb',
    500: '#7b60cb',
    950: '#000000',
  },
}
SCSS
$custom: #7b60cb;
$custom-light: #a58edb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60cb",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 203
  },
  "hsl": {
    "h": 255.14,
    "s": 50.711,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56747,
    "c": 0.15948,
    "h": 292.2
  },
  "luminance": 0.16888
}

Semantic roles & 50–950 ramp

primary
#7B60CB
secondary
#CED9AE
accent
#DA4EB7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7B60CB

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

Preview Lab → · Contrast checker → · Palette generator →

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