#7B3FD9#7B3FD9

#7B3FD9 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.220 H 295.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7B3FD9
RGBrgb(123, 63, 217)
HSLhsl(263, 67%, 55%)
HSVhsv(263, 71%, 85%)
CMYKcmyk(43.3%, 71%, 0%, 14.9%)
CIE-LABlab(42.42, 57.33, -69.31)
CIE-LCHlch(42.42, 89.95, 309.60°)
OKLaboklab(52.91% 0.0954 -0.1983)
OKLCHoklch(52.91% 0.22 295.7)
XYZxyz(22.4669, 12.7752, 66.9143)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FD9 #9DD93F
analogous
#3F50D9 #7B3FD9 #C83FD9
triadic
#7B3FD9 #D97B3F #3FD97B
tetradic
#7B3FD9 #D93F50 #9DD93F #3FD9C8
square
#7B3FD9 #D93F50 #9DD93F #3FD9C8
split-complementary
#7B3FD9 #D9C83F #50D93F
monochromatic
#431A84 #5D24B7 #7B3FD9 #9E72E3 #C1A5ED

Accessibility & contrast

On white

5.91
#7B3FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7B3FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3FD9
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FD9#FFFFFF#000000##FFFFFF
##7B3FD91.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DE
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#616688
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7b3fd9;
/* rgb */ color: rgb(123, 63, 217);
/* oklch */ color: oklch(52.9% 0.220 295.7);
Tailwind
colors: {
  custom: {
    50: '#a979e6',
    500: '#7b3fd9',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fd9;
$custom-light: #a979e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fd9",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 263.377,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52913,
    "c": 0.22011,
    "h": 295.7
  },
  "luminance": 0.12776
}

Semantic roles & 50–950 ramp

primary
#7B3FD9
secondary
#C1DA9A
accent
#EA3EA7
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7B3FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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