#7B60C8#7B60C8

#7B60C8 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.6% C 0.156 H 292.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7B60C8
RGBrgb(123, 96, 200)
HSLhsl(256, 49%, 58%)
HSVhsv(256, 52%, 78%)
CMYKcmyk(38.5%, 52%, 0%, 21.6%)
CIE-LABlab(47.94, 34.95, -50.63)
CIE-LCHlch(47.94, 61.53, 304.62°)
OKLaboklab(56.56% 0.06 -0.1435)
OKLCHoklch(56.56% 0.156 292.7)
XYZxyz(22.7738, 16.7463, 56.6648)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60C8 #ADC860
analogous
#6079C8 #7B60C8 #AF60C8
triadic
#7B60C8 #C87B60 #60C87B
tetradic
#7B60C8 #C86079 #ADC860 #60C8AF
square
#7B60C8 #C86079 #ADC860 #60C8AF
split-complementary
#7B60C8 #C8AF60 #79C860
monochromatic
#432D81 #5A3CAE #7B60C8 #A18DD8 #C6BBE7

Accessibility & contrast

On white

4.83
#7B60C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7B60C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B60C8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60C8#FFFFFF#000000##FFFFFF
##7B60C81.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3473CC
Deuteranopia (green-blind)
#3A70C6
Tritanopia (blue-blind)
#67758B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b60c8;
/* rgb */ color: rgb(123, 96, 200);
/* oklch */ color: oklch(56.6% 0.156 292.7);
Tailwind
colors: {
  custom: {
    50: '#a58ed9',
    500: '#7b60c8',
    950: '#000000',
  },
}
SCSS
$custom: #7b60c8;
$custom-light: #a58ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60c8",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 200
  },
  "hsl": {
    "h": 255.577,
    "s": 48.598,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56556,
    "c": 0.15552,
    "h": 292.7
  },
  "luminance": 0.16747
}

Semantic roles & 50–950 ramp

primary
#7B60C8
secondary
#CCD7AD
accent
#D850B5
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7B60C8

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

Preview Lab → · Contrast checker → · Palette generator →

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