#7B3DCA#7B3DCA

#7B3DCA is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.206 H 299.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7B3DCA
RGBrgb(123, 61, 202)
HSLhsl(266, 57%, 52%)
HSVhsv(266, 70%, 79%)
CMYKcmyk(39.1%, 69.8%, 0%, 20.8%)
CIE-LABlab(40.92, 54.50, -63.12)
CIE-LCHlch(40.92, 83.39, 310.81°)
OKLaboklab(51.48% 0.1001 -0.1801)
OKLCHoklch(51.48% 0.206 299.1)
XYZxyz(20.4951, 11.8125, 57.0659)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DCA #8CCA3D
analogous
#3D46CA #7B3DCA #C23DCA
triadic
#7B3DCA #CA7B3D #3DCA7B
tetradic
#7B3DCA #CA3D46 #8CCA3D #3DCAC2
square
#7B3DCA #CA3D46 #8CCA3D #3DCAC2
split-complementary
#7B3DCA #CAC23D #46CA3D
monochromatic
#411E6E #5E2B9F #7B3DCA #9C6DD7 #BC9DE4

Accessibility & contrast

On white

6.25
#7B3DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7B3DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3DCA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3DCA#FFFFFF#000000##FFFFFF
##7B3DCA1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#685F7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b3dca;
/* rgb */ color: rgb(123, 61, 202);
/* oklch */ color: oklch(51.5% 0.206 299.1);
Tailwind
colors: {
  custom: {
    50: '#a777db',
    500: '#7b3dca',
    950: '#000000',
  },
}
SCSS
$custom: #7b3dca;
$custom-light: #a777db;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3dca",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 266.383,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51479,
    "c": 0.20608,
    "h": 299.1
  },
  "luminance": 0.11813
}

Semantic roles & 50–950 ramp

primary
#7B3DCA
secondary
#B5D092
accent
#E0479D
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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