#7B3DD1#7B3DD1

#7B3DD1 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.214 H 297.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7B3DD1
RGBrgb(123, 61, 209)
HSLhsl(265, 62%, 53%)
HSVhsv(265, 71%, 82%)
CMYKcmyk(41.1%, 70.8%, 0%, 18%)
CIE-LABlab(41.46, 56.25, -66.29)
CIE-LCHlch(41.46, 86.94, 310.32°)
OKLaboklab(52.03% 0.0988 -0.1894)
OKLCHoklch(52.03% 0.214 297.6)
XYZxyz(21.3428, 12.1515, 61.5302)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DD1 #93D13D
analogous
#3D49D1 #7B3DD1 #C53DD1
triadic
#7B3DD1 #D17B3D #3DD17B
tetradic
#7B3DD1 #D13D49 #93D13D #3DD1C5
square
#7B3DD1 #D13D49 #93D13D #3DD1C5
split-complementary
#7B3DD1 #D1C53D #49D13D
monochromatic
#421C77 #5E28A9 #7B3DD1 #9D6EDD #BEA0E8

Accessibility & contrast

On white

6.12
#7B3DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7B3DD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3DD1
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3DD1#FFFFFF#000000##FFFFFF
##7B3DD11.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D5
Deuteranopia (green-blind)
#0060CE
Tritanopia (blue-blind)
#656283
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7b3dd1;
/* rgb */ color: rgb(123, 61, 209);
/* oklch */ color: oklch(52.0% 0.214 297.6);
Tailwind
colors: {
  custom: {
    50: '#a878e0',
    500: '#7b3dd1',
    950: '#000000',
  },
}
SCSS
$custom: #7b3dd1;
$custom-light: #a878e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3dd1",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 209
  },
  "hsl": {
    "h": 265.135,
    "s": 61.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52031,
    "c": 0.21369,
    "h": 297.6
  },
  "luminance": 0.12152
}

Semantic roles & 50–950 ramp

primary
#7B3DD1
secondary
#BAD595
accent
#E543A1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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