#7B3DC5#7B3DC5

#7B3DC5 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.1% C 0.201 H 300.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7B3DC5
RGBrgb(123, 61, 197)
HSLhsl(267, 54%, 51%)
HSVhsv(267, 69%, 77%)
CMYKcmyk(37.6%, 69%, 0%, 22.7%)
CIE-LABlab(40.54, 53.26, -60.83)
CIE-LCHlch(40.54, 80.85, 311.20°)
OKLaboklab(51.09% 0.1009 -0.1734)
OKLCHoklch(51.09% 0.201 300.2)
XYZxyz(19.9127, 11.5795, 53.9985)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DC5 #87C53D
analogous
#3D43C5 #7B3DC5 #BF3DC5
triadic
#7B3DC5 #C57B3D #3DC57B
tetradic
#7B3DC5 #C53D43 #87C53D #3DC5BF
square
#7B3DC5 #C53D43 #87C53D #3DC5BF
split-complementary
#7B3DC5 #C5BF3D #43C53D
monochromatic
#411F68 #5E2D98 #7B3DC5 #9B6CD3 #BB9BE1

Accessibility & contrast

On white

6.33
#7B3DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7B3DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3DC5
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3DC5#FFFFFF#000000##FFFFFF
##7B3DC51.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#6A5D7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b3dc5;
/* rgb */ color: rgb(123, 61, 197);
/* oklch */ color: oklch(51.1% 0.201 300.2);
Tailwind
colors: {
  custom: {
    50: '#a777d7',
    500: '#7b3dc5',
    950: '#000000',
  },
}
SCSS
$custom: #7b3dc5;
$custom-light: #a777d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3dc5",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 267.353,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51092,
    "c": 0.20062,
    "h": 300.2
  },
  "luminance": 0.1158
}

Semantic roles & 50–950 ramp

primary
#7B3DC5
secondary
#B2CD91
accent
#DD4A9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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