#7B3CCC#7B3CCC

#7B3CCC is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.209 H 298.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7B3CCC
RGBrgb(123, 60, 204)
HSLhsl(266, 59%, 52%)
HSVhsv(266, 71%, 80%)
CMYKcmyk(39.7%, 70.6%, 0%, 20%)
CIE-LABlab(40.90, 55.47, -64.31)
CIE-LCHlch(40.90, 84.93, 310.78°)
OKLaboklab(51.52% 0.1007 -0.1836)
OKLCHoklch(51.52% 0.209 298.7)
XYZxyz(20.6806, 11.8020, 58.3035)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CCC #8DCC3C
analogous
#3C45CC #7B3CCC #C33CCC
triadic
#7B3CCC #CC7B3C #3CCC7B
tetradic
#7B3CCC #CC3C45 #8DCC3C #3CCCC3
square
#7B3CCC #CC3C45 #8DCC3C #3CCCC3
split-complementary
#7B3CCC #CCC33C #45CC3C
monochromatic
#421D70 #5E2AA1 #7B3CCC #9C6DD9 #BD9DE5

Accessibility & contrast

On white

6.25
#7B3CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7B3CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3CCC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CCC#FFFFFF#000000##FFFFFF
##7B3CCC1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#685F80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b3ccc;
/* rgb */ color: rgb(123, 60, 204);
/* oklch */ color: oklch(51.5% 0.209 298.7);
Tailwind
colors: {
  custom: {
    50: '#a877dd',
    500: '#7b3ccc',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ccc;
$custom-light: #a877dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ccc",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 266.25,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51515,
    "c": 0.20943,
    "h": 298.7
  },
  "luminance": 0.11802
}

Semantic roles & 50–950 ramp

primary
#7B3CCC
secondary
#B6D192
accent
#E2469E
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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