#7B3ED5#7B3ED5

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

Color values

HEX#7B3ED5
RGBrgb(123, 62, 213)
HSLhsl(264, 64%, 54%)
HSVhsv(264, 71%, 84%)
CMYKcmyk(42.3%, 70.9%, 0%, 16.5%)
CIE-LABlab(41.94, 56.79, -67.81)
CIE-LCHlch(41.94, 88.45, 309.95°)
OKLaboklab(52.47% 0.0972 -0.1939)
OKLCHoklch(52.47% 0.217 296.6)
XYZxyz(21.8981, 12.4598, 64.1891)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3ED5 #98D53E
analogous
#3E4DD5 #7B3ED5 #C63ED5
triadic
#7B3ED5 #D57B3E #3ED57B
tetradic
#7B3ED5 #D53E4D #98D53E #3ED5C6
square
#7B3ED5 #D53E4D #98D53E #3ED5C6
split-complementary
#7B3ED5 #D5C63E #4DD53E
monochromatic
#431B7D #5E26B0 #7B3ED5 #9D70E0 #C0A3EB

Accessibility & contrast

On white

6.01
#7B3ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B3ED5
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3ED5#FFFFFF#000000##FFFFFF
##7B3ED51.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D9
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#636485
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7b3ed5;
/* rgb */ color: rgb(123, 62, 213);
/* oklch */ color: oklch(52.5% 0.217 296.6);
Tailwind
colors: {
  custom: {
    50: '#a878e3',
    500: '#7b3ed5',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ed5;
$custom-light: #a878e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ed5",
  "rgb": {
    "r": 123,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 264.238,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5247,
    "c": 0.21689,
    "h": 296.6
  },
  "luminance": 0.1246
}

Semantic roles & 50–950 ramp

primary
#7B3ED5
secondary
#BED897
accent
#E741A4
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7B3ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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