#7B3CCD#7B3CCD

#7B3CCD is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.211 H 298.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7B3CCD
RGBrgb(123, 60, 205)
HSLhsl(266, 59%, 52%)
HSVhsv(266, 71%, 80%)
CMYKcmyk(40%, 70.7%, 0%, 19.6%)
CIE-LABlab(40.98, 55.72, -64.76)
CIE-LCHlch(40.98, 85.43, 310.71°)
OKLaboklab(51.59% 0.1006 -0.1849)
OKLCHoklch(51.59% 0.211 298.5)
XYZxyz(20.8009, 11.8502, 58.9372)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CCD #8ECD3C
analogous
#3C46CD #7B3CCD #C43CCD
triadic
#7B3CCD #CD7B3C #3CCD7B
tetradic
#7B3CCD #CD3C46 #8ECD3C #3CCDC4
square
#7B3CCD #CD3C46 #8ECD3C #3CCDC4
split-complementary
#7B3CCD #CDC43C #46CD3C
monochromatic
#421D71 #5E2AA2 #7B3CCD #9C6DD9 #BD9DE6

Accessibility & contrast

On white

6.23
#7B3CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7B3CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3CCD
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CCD#FFFFFF#000000##FFFFFF
##7B3CCD1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#676081
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7b3ccd;
/* rgb */ color: rgb(123, 60, 205);
/* oklch */ color: oklch(51.6% 0.211 298.5);
Tailwind
colors: {
  custom: {
    50: '#a877dd',
    500: '#7b3ccd',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ccd;
$custom-light: #a877dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ccd",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 266.069,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51594,
    "c": 0.21052,
    "h": 298.5
  },
  "luminance": 0.1185
}

Semantic roles & 50–950 ramp

primary
#7B3CCD
secondary
#B7D293
accent
#E2459E
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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