#7B3DC4#7B3DC4

#7B3DC4 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.0% C 0.200 H 300.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7B3DC4
RGBrgb(123, 61, 196)
HSLhsl(268, 53%, 50%)
HSVhsv(268, 69%, 77%)
CMYKcmyk(37.2%, 68.9%, 0%, 23.1%)
CIE-LABlab(40.47, 53.01, -60.36)
CIE-LCHlch(40.47, 80.33, 311.29°)
OKLaboklab(51.02% 0.1011 -0.172)
OKLCHoklch(51.02% 0.2 300.4)
XYZxyz(19.7985, 11.5338, 53.3970)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DC4 #86C43D
analogous
#3D42C4 #7B3DC4 #BF3DC4
triadic
#7B3DC4 #C47B3D #3DC47B
tetradic
#7B3DC4 #C43D42 #86C43D #3DC4BF
square
#7B3DC4 #C43D42 #86C43D #3DC4BF
split-complementary
#7B3DC4 #C4BF3D #42C43D
monochromatic
#401F67 #5E2E96 #7B3DC4 #9B6CD2 #BB9BE1

Accessibility & contrast

On white

6.35
#7B3DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B3DC4
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3DC4#FFFFFF#000000##FFFFFF
##7B3DC41.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#6B5D7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b3dc4;
/* rgb */ color: rgb(123, 61, 196);
/* oklch */ color: oklch(51.0% 0.200 300.4);
Tailwind
colors: {
  custom: {
    50: '#a777d7',
    500: '#7b3dc4',
    950: '#000000',
  },
}
SCSS
$custom: #7b3dc4;
$custom-light: #a777d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3dc4",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 196
  },
  "hsl": {
    "h": 267.556,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51016,
    "c": 0.19952,
    "h": 300.4
  },
  "luminance": 0.11534
}

Semantic roles & 50–950 ramp

primary
#7B3DC4
secondary
#B1CD90
accent
#DD4B9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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