#7B3DD9#7B3DD9

#7B3DD9 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.7% C 0.222 H 295.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7B3DD9
RGBrgb(123, 61, 217)
HSLhsl(264, 67%, 55%)
HSVhsv(264, 72%, 85%)
CMYKcmyk(43.3%, 71.9%, 0%, 14.9%)
CIE-LABlab(42.09, 58.27, -69.86)
CIE-LCHlch(42.09, 90.97, 309.83°)
OKLaboklab(52.68% 0.0973 -0.1999)
OKLCHoklch(52.68% 0.222 295.9)
XYZxyz(22.3582, 12.5577, 66.8781)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DD9 #9BD93D
analogous
#3D4DD9 #7B3DD9 #C93DD9
triadic
#7B3DD9 #D97B3D #3DD97B
tetradic
#7B3DD9 #D93D4D #9BD93D #3DD9C9
square
#7B3DD9 #D93D4D #9BD93D #3DD9C9
split-complementary
#7B3DD9 #D9C93D #4DD93D
monochromatic
#431982 #5D24B5 #7B3DD9 #9E70E3 #C1A3ED

Accessibility & contrast

On white

5.98
#7B3DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7B3DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3DD9
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3DD9#FFFFFF#000000##FFFFFF
##7B3DD91.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DE
Deuteranopia (green-blind)
#0061D6
Tritanopia (blue-blind)
#626587
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7b3dd9;
/* rgb */ color: rgb(123, 61, 217);
/* oklch */ color: oklch(52.7% 0.222 295.9);
Tailwind
colors: {
  custom: {
    50: '#a978e6',
    500: '#7b3dd9',
    950: '#000000',
  },
}
SCSS
$custom: #7b3dd9;
$custom-light: #a978e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3dd9",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 217
  },
  "hsl": {
    "h": 263.846,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52676,
    "c": 0.22233,
    "h": 295.9
  },
  "luminance": 0.12558
}

Semantic roles & 50–950 ramp

primary
#7B3DD9
secondary
#C0DA98
accent
#EA3EA6
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7B3DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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