#7B3CD8#7B3CD8

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

Color values

HEX#7B3CD8
RGBrgb(123, 60, 216)
HSLhsl(264, 67%, 54%)
HSVhsv(264, 72%, 85%)
CMYKcmyk(43.1%, 72.2%, 0%, 15.3%)
CIE-LABlab(41.85, 58.48, -69.68)
CIE-LCHlch(41.85, 90.97, 310.00°)
OKLaboklab(52.48% 0.0984 -0.1994)
OKLCHoklch(52.48% 0.222 296.3)
XYZxyz(22.1756, 12.4001, 66.1775)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CD8 #99D83C
analogous
#3C4BD8 #7B3CD8 #C93CD8
triadic
#7B3CD8 #D87B3C #3CD87B
tetradic
#7B3CD8 #D83C4B #99D83C #3CD8C9
square
#7B3CD8 #D83C4B #99D83C #3CD8C9
split-complementary
#7B3CD8 #D8C93C #4BD83C
monochromatic
#431A80 #5E24B3 #7B3CD8 #9E6FE2 #C0A2EC

Accessibility & contrast

On white

6.03
#7B3CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7B3CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3CD8
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CD8#FFFFFF#000000##FFFFFF
##7B3CD81.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DD
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#626487
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7b3cd8;
/* rgb */ color: rgb(123, 60, 216);
/* oklch */ color: oklch(52.5% 0.222 296.3);
Tailwind
colors: {
  custom: {
    50: '#a977e5',
    500: '#7b3cd8',
    950: '#000000',
  },
}
SCSS
$custom: #7b3cd8;
$custom-light: #a977e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3cd8",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 216
  },
  "hsl": {
    "h": 264.231,
    "s": 66.667,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52479,
    "c": 0.22235,
    "h": 296.3
  },
  "luminance": 0.12401
}

Semantic roles & 50–950 ramp

primary
#7B3CD8
secondary
#BED997
accent
#EA3EA4
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7B3CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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