#7B3DD7#7B3DD7

#7B3DD7 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.220 H 296.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7B3DD7
RGBrgb(123, 61, 215)
HSLhsl(264, 66%, 54%)
HSVhsv(264, 72%, 84%)
CMYKcmyk(42.8%, 71.6%, 0%, 15.7%)
CIE-LABlab(41.93, 57.76, -68.97)
CIE-LCHlch(41.93, 89.96, 309.95°)
OKLaboklab(52.51% 0.0977 -0.1973)
OKLCHoklch(52.51% 0.22 296.3)
XYZxyz(22.0996, 12.4543, 65.5164)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DD7 #99D73D
analogous
#3D4CD7 #7B3DD7 #C83DD7
triadic
#7B3DD7 #D77B3D #3DD77B
tetradic
#7B3DD7 #D73D4C #99D73D #3DD7C8
square
#7B3DD7 #D73D4C #99D73D #3DD7C8
split-complementary
#7B3DD7 #D7C83D #4CD73D
monochromatic
#431A7F #5E25B2 #7B3DD7 #9E70E1 #C0A2EC

Accessibility & contrast

On white

6.02
#7B3DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7B3DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3DD7
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3DD7#FFFFFF#000000##FFFFFF
##7B3DD71.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DB
Deuteranopia (green-blind)
#0061D4
Tritanopia (blue-blind)
#636486
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7b3dd7;
/* rgb */ color: rgb(123, 61, 215);
/* oklch */ color: oklch(52.5% 0.220 296.3);
Tailwind
colors: {
  custom: {
    50: '#a978e4',
    500: '#7b3dd7',
    950: '#000000',
  },
}
SCSS
$custom: #7b3dd7;
$custom-light: #a978e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3dd7",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 215
  },
  "hsl": {
    "h": 264.156,
    "s": 65.812,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52514,
    "c": 0.22017,
    "h": 296.3
  },
  "luminance": 0.12455
}

Semantic roles & 50–950 ramp

primary
#7B3DD7
secondary
#BED997
accent
#E93FA4
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7B3DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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