#7B3DCC#7B3DCC

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

Color values

HEX#7B3DCC
RGBrgb(123, 61, 204)
HSLhsl(266, 58%, 52%)
HSVhsv(266, 70%, 80%)
CMYKcmyk(39.7%, 70.1%, 0%, 20%)
CIE-LABlab(41.07, 55.00, -64.03)
CIE-LCHlch(41.07, 84.41, 310.66°)
OKLaboklab(51.64% 0.0998 -0.1828)
OKLCHoklch(51.64% 0.208 298.6)
XYZxyz(20.7334, 11.9078, 58.3211)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DCC #8ECC3D
analogous
#3D47CC #7B3DCC #C23DCC
triadic
#7B3DCC #CC7B3D #3DCC7B
tetradic
#7B3DCC #CC3D47 #8ECC3D #3DCCC2
square
#7B3DCC #CC3D47 #8ECC3D #3DCCC2
split-complementary
#7B3DCC #CCC23D #47CC3D
monochromatic
#421E71 #5E2AA1 #7B3DCC #9C6DD9 #BD9EE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B3DCC#FFFFFF#000000##FFFFFF
##7B3DCC1.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)
#0061D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#686080
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7b3dcc;
/* rgb */ color: rgb(123, 61, 204);
/* oklch */ color: oklch(51.6% 0.208 298.6);
Tailwind
colors: {
  custom: {
    50: '#a877dc',
    500: '#7b3dcc',
    950: '#000000',
  },
}
SCSS
$custom: #7b3dcc;
$custom-light: #a877dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3dcc",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 266.014,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51635,
    "c": 0.20826,
    "h": 298.6
  },
  "luminance": 0.11908
}

Semantic roles & 50–950 ramp

primary
#7B3DCC
secondary
#B7D293
accent
#E2469E
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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