#7B3CD4#7B3CD4

#7B3CD4 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.218 H 297.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7B3CD4
RGBrgb(123, 60, 212)
HSLhsl(265, 64%, 53%)
HSVhsv(265, 72%, 83%)
CMYKcmyk(42%, 71.7%, 0%, 16.9%)
CIE-LABlab(41.53, 57.47, -67.90)
CIE-LCHlch(41.53, 88.96, 310.24°)
OKLaboklab(52.15% 0.0992 -0.1942)
OKLCHoklch(52.15% 0.218 297.1)
XYZxyz(21.6648, 12.1957, 63.4872)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CD4 #95D43C
analogous
#3C49D4 #7B3CD4 #C73CD4
triadic
#7B3CD4 #D47B3C #3CD47B
tetradic
#7B3CD4 #D43C49 #95D43C #3CD4C7
square
#7B3CD4 #D43C49 #95D43C #3CD4C7
split-complementary
#7B3CD4 #D4C73C #49D43C
monochromatic
#431B7B #5E26AD #7B3CD4 #9D6EDF #BFA0EA

Accessibility & contrast

On white

6.11
#7B3CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7B3CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3CD4
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CD4#FFFFFF#000000##FFFFFF
##7B3CD41.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#0060D1
Tritanopia (blue-blind)
#646384
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7b3cd4;
/* rgb */ color: rgb(123, 60, 212);
/* oklch */ color: oklch(52.2% 0.218 297.1);
Tailwind
colors: {
  custom: {
    50: '#a877e2',
    500: '#7b3cd4',
    950: '#000000',
  },
}
SCSS
$custom: #7b3cd4;
$custom-light: #a877e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3cd4",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 212
  },
  "hsl": {
    "h": 264.868,
    "s": 63.866,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52154,
    "c": 0.21806,
    "h": 297.1
  },
  "luminance": 0.12196
}

Semantic roles & 50–950 ramp

primary
#7B3CD4
secondary
#BBD795
accent
#E741A2
background
#FAF7FE
surface
#F5EDFC
border
#CFC8D5
text
#110915
muted
#807B84

Preview Lab

Preview with #7B3CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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