#7B60CA#7B60CA

#7B60CA is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.7% C 0.158 H 292.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7B60CA
RGBrgb(123, 96, 202)
HSLhsl(255, 50%, 58%)
HSVhsv(255, 52%, 79%)
CMYKcmyk(39.1%, 52.5%, 0%, 20.8%)
CIE-LABlab(48.06, 35.51, -51.59)
CIE-LCHlch(48.06, 62.63, 304.54°)
OKLaboklab(56.68% 0.0601 -0.1463)
OKLCHoklch(56.68% 0.158 292.3)
XYZxyz(23.0091, 16.8404, 57.9039)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60CA #AFCA60
analogous
#607ACA #7B60CA #B060CA
triadic
#7B60CA #CA7B60 #60CA7B
tetradic
#7B60CA #CA607A #AFCA60 #60CAB0
square
#7B60CA #CA607A #AFCA60 #60CAB0
split-complementary
#7B60CA #CAB060 #7ACA60
monochromatic
#422C84 #593BB2 #7B60CA #A18ED9 #C7BCE9

Accessibility & contrast

On white

4.81
#7B60CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7B60CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B60CA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60CA#FFFFFF#000000##FFFFFF
##7B60CA1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3274CE
Deuteranopia (green-blind)
#3770C8
Tritanopia (blue-blind)
#66768C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b60ca;
/* rgb */ color: rgb(123, 96, 202);
/* oklch */ color: oklch(56.7% 0.158 292.3);
Tailwind
colors: {
  custom: {
    50: '#a58edb',
    500: '#7b60ca',
    950: '#000000',
  },
}
SCSS
$custom: #7b60ca;
$custom-light: #a58edb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60ca",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 202
  },
  "hsl": {
    "h": 255.283,
    "s": 50,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56683,
    "c": 0.15817,
    "h": 292.3
  },
  "luminance": 0.16841
}

Semantic roles & 50–950 ramp

primary
#7B60CA
secondary
#CDD8AE
accent
#DA4EB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7B60CA

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

Preview Lab → · Contrast checker → · Palette generator →

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