#7B3DD4#7B3DD4

#7B3DD4 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.217 H 296.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7B3DD4
RGBrgb(123, 61, 212)
HSLhsl(265, 64%, 54%)
HSVhsv(265, 71%, 83%)
CMYKcmyk(42%, 71.2%, 0%, 16.9%)
CIE-LABlab(41.69, 57.01, -67.63)
CIE-LCHlch(41.69, 88.45, 310.13°)
OKLaboklab(52.27% 0.0983 -0.1934)
OKLCHoklch(52.27% 0.217 296.9)
XYZxyz(21.7177, 12.3015, 63.5048)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DD4 #96D43D
analogous
#3D4AD4 #7B3DD4 #C73DD4
triadic
#7B3DD4 #D47B3D #3DD47B
tetradic
#7B3DD4 #D43D4A #96D43D #3DD4C7
square
#7B3DD4 #D43D4A #96D43D #3DD4C7
split-complementary
#7B3DD4 #D4C73D #4AD43D
monochromatic
#431B7B #5E26AD #7B3DD4 #9D6FDF #BFA1EA

Accessibility & contrast

On white

6.07
#7B3DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7B3DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3DD4
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3DD4#FFFFFF#000000##FFFFFF
##7B3DD41.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b3dd4;
/* rgb */ color: rgb(123, 61, 212);
/* oklch */ color: oklch(52.3% 0.217 296.9);
Tailwind
colors: {
  custom: {
    50: '#a878e2',
    500: '#7b3dd4',
    950: '#000000',
  },
}
SCSS
$custom: #7b3dd4;
$custom-light: #a878e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3dd4",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 212
  },
  "hsl": {
    "h": 264.636,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52271,
    "c": 0.21693,
    "h": 296.9
  },
  "luminance": 0.12302
}

Semantic roles & 50–950 ramp

primary
#7B3DD4
secondary
#BCD796
accent
#E741A3
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110915
muted
#807B84

Preview Lab

Preview with #7B3DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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