#7B60D3#7B60D3

#7B60D3 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.3% C 0.170 H 290.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7B60D3
RGBrgb(123, 96, 211)
HSLhsl(254, 57%, 60%)
HSVhsv(254, 55%, 83%)
CMYKcmyk(41.7%, 54.5%, 0%, 17.3%)
CIE-LABlab(48.61, 38.00, -55.86)
CIE-LCHlch(48.61, 67.56, 304.23°)
OKLaboklab(57.27% 0.0605 -0.1588)
OKLCHoklch(57.27% 0.17 290.9)
XYZxyz(24.1059, 17.2791, 63.6805)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B60D3 #B8D360
analogous
#607ED3 #7B60D3 #B460D3
triadic
#7B60D3 #D37B60 #60D37B
tetradic
#7B60D3 #D3607E #B8D360 #60D3B4
square
#7B60D3 #D3607E #B8D360 #60D3B4
split-complementary
#7B60D3 #D3B460 #7ED360
monochromatic
#412891 #5635C1 #7B60D3 #A390E0 #CBC0EE

Accessibility & contrast

On white

4.71
#7B60D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7B60D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B60D3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B60D3#FFFFFF#000000##FFFFFF
##7B60D31.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2675D7
Deuteranopia (green-blind)
#2C71D0
Tritanopia (blue-blind)
#627890
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b60d3;
/* rgb */ color: rgb(123, 96, 211);
/* oklch */ color: oklch(57.3% 0.170 290.9);
Tailwind
colors: {
  custom: {
    50: '#a68ee1',
    500: '#7b60d3',
    950: '#000000',
  },
}
SCSS
$custom: #7b60d3;
$custom-light: #a68ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b60d3",
  "rgb": {
    "r": 123,
    "g": 96,
    "b": 211
  },
  "hsl": {
    "h": 254.087,
    "s": 56.65,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5727,
    "c": 0.16996,
    "h": 290.9
  },
  "luminance": 0.1728
}

Semantic roles & 50–950 ramp

primary
#7B60D3
secondary
#D3DDB1
accent
#C4219E
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7B60D3

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

Preview Lab → · Contrast checker → · Palette generator →

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