#7B3ECA#7B3ECA

#7B3ECA is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.205 H 298.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7B3ECA
RGBrgb(123, 62, 202)
HSLhsl(266, 57%, 52%)
HSVhsv(266, 69%, 79%)
CMYKcmyk(39.1%, 69.3%, 0%, 20.8%)
CIE-LABlab(41.09, 54.02, -62.84)
CIE-LCHlch(41.09, 82.87, 310.68°)
OKLaboklab(51.6% 0.0991 -0.1793)
OKLCHoklch(51.6% 0.205 298.9)
XYZxyz(20.5490, 11.9202, 57.0839)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3ECA #8DCA3E
analogous
#3E47CA #7B3ECA #C13ECA
triadic
#7B3ECA #CA7B3E #3ECA7B
tetradic
#7B3ECA #CA3E47 #8DCA3E #3ECAC1
square
#7B3ECA #CA3E47 #8DCA3E #3ECAC1
split-complementary
#7B3ECA #CAC13E #47CA3E
monochromatic
#421F6F #5E2C9F #7B3ECA #9C6ED7 #BD9EE4

Accessibility & contrast

On white

6.21
#7B3ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7B3ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3ECA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3ECA#FFFFFF#000000##FFFFFF
##7B3ECA1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#68607F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7b3eca;
/* rgb */ color: rgb(123, 62, 202);
/* oklch */ color: oklch(51.6% 0.205 298.9);
Tailwind
colors: {
  custom: {
    50: '#a778db',
    500: '#7b3eca',
    950: '#000000',
  },
}
SCSS
$custom: #7b3eca;
$custom-light: #a778db;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3eca",
  "rgb": {
    "r": 123,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 266.143,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51602,
    "c": 0.20488,
    "h": 298.9
  },
  "luminance": 0.1192
}

Semantic roles & 50–950 ramp

primary
#7B3ECA
secondary
#B6D193
accent
#E0489E
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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