#7B3ACD#7B3ACD

#7B3ACD is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.4% C 0.213 H 298.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7B3ACD
RGBrgb(123, 58, 205)
HSLhsl(267, 60%, 52%)
HSVhsv(267, 72%, 80%)
CMYKcmyk(40%, 71.7%, 0%, 19.6%)
CIE-LABlab(40.65, 56.65, -65.30)
CIE-LCHlch(40.65, 86.45, 310.95°)
OKLaboklab(51.36% 0.1025 -0.1865)
OKLCHoklch(51.36% 0.213 298.8)
XYZxyz(20.6981, 11.6446, 58.9029)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3ACD #8CCD3A
analogous
#3A43CD #7B3ACD #C53ACD
triadic
#7B3ACD #CD7B3A #3ACD7B
tetradic
#7B3ACD #CD3A43 #8CCD3A #3ACDC5
square
#7B3ACD #CD3A43 #8CCD3A #3ACDC5
split-complementary
#7B3ACD #CDC53A #43CD3A
monochromatic
#411C70 #5E29A1 #7B3ACD #9C6BD9 #BC9CE6

Accessibility & contrast

On white

6.31
#7B3ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7B3ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3ACD
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3ACD#FFFFFF#000000##FFFFFF
##7B3ACD1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#675F80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b3acd;
/* rgb */ color: rgb(123, 58, 205);
/* oklch */ color: oklch(51.4% 0.213 298.8);
Tailwind
colors: {
  custom: {
    50: '#a876dd',
    500: '#7b3acd',
    950: '#000000',
  },
}
SCSS
$custom: #7b3acd;
$custom-light: #a876dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3acd",
  "rgb": {
    "r": 123,
    "g": 58,
    "b": 205
  },
  "hsl": {
    "h": 266.531,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51359,
    "c": 0.2128,
    "h": 298.8
  },
  "luminance": 0.11645
}

Semantic roles & 50–950 ramp

primary
#7B3ACD
secondary
#B5D291
accent
#E3459D
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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