#7B3ACB#7B3ACB

#7B3ACB is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.2% C 0.211 H 299.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7B3ACB
RGBrgb(123, 58, 203)
HSLhsl(267, 58%, 51%)
HSVhsv(267, 71%, 80%)
CMYKcmyk(39.4%, 71.4%, 0%, 20.4%)
CIE-LABlab(40.49, 56.16, -64.39)
CIE-LCHlch(40.49, 85.44, 311.09°)
OKLaboklab(51.2% 0.1028 -0.1839)
OKLCHoklch(51.2% 0.211 299.2)
XYZxyz(20.4582, 11.5486, 57.6396)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3ACB #8ACB3A
analogous
#3A41CB #7B3ACB #C43ACB
triadic
#7B3ACB #CB7B3A #3ACB7B
tetradic
#7B3ACB #CB3A41 #8ACB3A #3ACBC4
square
#7B3ACB #CB3A41 #8ACB3A #3ACBC4
split-complementary
#7B3ACB #CBC43A #41CB3A
monochromatic
#411D6E #5E2A9E #7B3ACB #9B6AD8 #BC9BE5

Accessibility & contrast

On white

6.34
#7B3ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7B3ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3ACB
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3ACB#FFFFFF#000000##FFFFFF
##7B3ACB1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#685E7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b3acb;
/* rgb */ color: rgb(123, 58, 203);
/* oklch */ color: oklch(51.2% 0.211 299.2);
Tailwind
colors: {
  custom: {
    50: '#a876dc',
    500: '#7b3acb',
    950: '#000000',
  },
}
SCSS
$custom: #7b3acb;
$custom-light: #a876dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3acb",
  "rgb": {
    "r": 123,
    "g": 58,
    "b": 203
  },
  "hsl": {
    "h": 266.897,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51199,
    "c": 0.21067,
    "h": 299.2
  },
  "luminance": 0.11549
}

Semantic roles & 50–950 ramp

primary
#7B3ACB
secondary
#B4D090
accent
#E1469C
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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