#7B3DD3#7B3DD3

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

Color values

HEX#7B3DD3
RGBrgb(123, 61, 211)
HSLhsl(265, 63%, 53%)
HSVhsv(265, 71%, 83%)
CMYKcmyk(41.7%, 71.1%, 0%, 17.3%)
CIE-LABlab(41.61, 56.75, -67.19)
CIE-LCHlch(41.61, 87.95, 310.19°)
OKLaboklab(52.19% 0.0985 -0.1921)
OKLCHoklch(52.19% 0.216 297.1)
XYZxyz(21.5919, 12.2512, 62.8425)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DD3 #95D33D
analogous
#3D4AD3 #7B3DD3 #C63DD3
triadic
#7B3DD3 #D37B3D #3DD37B
tetradic
#7B3DD3 #D33D4A #95D33D #3DD3C6
square
#7B3DD3 #D33D4A #95D33D #3DD3C6
split-complementary
#7B3DD3 #D3C63D #4AD33D
monochromatic
#431C7A #5E27AC #7B3DD3 #9D6FDE #BFA1EA

Accessibility & contrast

On white

6.09
#7B3DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7B3DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3DD3
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3DD3#FFFFFF#000000##FFFFFF
##7B3DD31.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b3dd3;
/* rgb */ color: rgb(123, 61, 211);
/* oklch */ color: oklch(52.2% 0.216 297.1);
Tailwind
colors: {
  custom: {
    50: '#a878e2',
    500: '#7b3dd3',
    950: '#000000',
  },
}
SCSS
$custom: #7b3dd3;
$custom-light: #a878e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3dd3",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 211
  },
  "hsl": {
    "h": 264.8,
    "s": 63.025,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52191,
    "c": 0.21585,
    "h": 297.1
  },
  "luminance": 0.12252
}

Semantic roles & 50–950 ramp

primary
#7B3DD3
secondary
#BBD696
accent
#E642A2
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7B3DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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