#7B3DC9#7B3DC9

#7B3DC9 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.4% C 0.205 H 299.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7B3DC9
RGBrgb(123, 61, 201)
HSLhsl(267, 56%, 51%)
HSVhsv(267, 70%, 79%)
CMYKcmyk(38.8%, 69.7%, 0%, 21.2%)
CIE-LABlab(40.84, 54.25, -62.66)
CIE-LCHlch(40.84, 82.88, 310.88°)
OKLaboklab(51.4% 0.1003 -0.1788)
OKLCHoklch(51.4% 0.205 299.3)
XYZxyz(20.3771, 11.7652, 56.4444)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DC9 #8BC93D
analogous
#3D45C9 #7B3DC9 #C13DC9
triadic
#7B3DC9 #C97B3D #3DC97B
tetradic
#7B3DC9 #C93D45 #8BC93D #3DC9C1
square
#7B3DC9 #C93D45 #8BC93D #3DC9C1
split-complementary
#7B3DC9 #C9C13D #45C93D
monochromatic
#411E6D #5E2C9D #7B3DC9 #9C6DD6 #BC9DE4

Accessibility & contrast

On white

6.26
#7B3DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7B3DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3DC9
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3DC9#FFFFFF#000000##FFFFFF
##7B3DC91.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#695F7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b3dc9;
/* rgb */ color: rgb(123, 61, 201);
/* oklch */ color: oklch(51.4% 0.205 299.3);
Tailwind
colors: {
  custom: {
    50: '#a777da',
    500: '#7b3dc9',
    950: '#000000',
  },
}
SCSS
$custom: #7b3dc9;
$custom-light: #a777da;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3dc9",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 201
  },
  "hsl": {
    "h": 266.571,
    "s": 56.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51401,
    "c": 0.20499,
    "h": 299.3
  },
  "luminance": 0.11765
}

Semantic roles & 50–950 ramp

primary
#7B3DC9
secondary
#B4D092
accent
#E0489D
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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