#7B3CD5#7B3CD5

#7B3CD5 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.219 H 296.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7B3CD5
RGBrgb(123, 60, 213)
HSLhsl(265, 65%, 54%)
HSVhsv(265, 72%, 84%)
CMYKcmyk(42.3%, 71.8%, 0%, 16.5%)
CIE-LABlab(41.60, 57.72, -68.35)
CIE-LCHlch(41.60, 89.46, 310.18°)
OKLaboklab(52.24% 0.099 -0.1955)
OKLCHoklch(52.24% 0.219 296.9)
XYZxyz(21.7913, 12.2463, 64.1536)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CD5 #96D53C
analogous
#3C49D5 #7B3CD5 #C73CD5
triadic
#7B3CD5 #D57B3C #3CD57B
tetradic
#7B3CD5 #D53C49 #96D53C #3CD5C7
square
#7B3CD5 #D53C49 #96D53C #3CD5C7
split-complementary
#7B3CD5 #D5C73C #49D53C
monochromatic
#431B7C #5E26AE #7B3CD5 #9D6EE0 #BFA1EB

Accessibility & contrast

On white

6.09
#7B3CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7B3CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3CD5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CD5#FFFFFF#000000##FFFFFF
##7B3CD51.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D9
Deuteranopia (green-blind)
#0060D2
Tritanopia (blue-blind)
#646385
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7b3cd5;
/* rgb */ color: rgb(123, 60, 213);
/* oklch */ color: oklch(52.2% 0.219 296.9);
Tailwind
colors: {
  custom: {
    50: '#a977e3',
    500: '#7b3cd5',
    950: '#000000',
  },
}
SCSS
$custom: #7b3cd5;
$custom-light: #a977e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3cd5",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 213
  },
  "hsl": {
    "h": 264.706,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52235,
    "c": 0.21913,
    "h": 296.9
  },
  "luminance": 0.12247
}

Semantic roles & 50–950 ramp

primary
#7B3CD5
secondary
#BCD796
accent
#E840A3
background
#FAF7FE
surface
#F5EDFC
border
#CFC8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7B3CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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