#7B3CD2#7B3CD2

#7B3CD2 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.216 H 297.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7B3CD2
RGBrgb(123, 60, 210)
HSLhsl(265, 63%, 53%)
HSVhsv(265, 71%, 82%)
CMYKcmyk(41.4%, 71.4%, 0%, 17.6%)
CIE-LABlab(41.37, 56.97, -67.01)
CIE-LCHlch(41.37, 87.96, 310.37°)
OKLaboklab(51.99% 0.0996 -0.1916)
OKLCHoklch(51.99% 0.216 297.5)
XYZxyz(21.4141, 12.0954, 62.1667)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CD2 #93D23C
analogous
#3C48D2 #7B3CD2 #C63CD2
triadic
#7B3CD2 #D27B3C #3CD27B
tetradic
#7B3CD2 #D23C48 #93D23C #3CD2C6
square
#7B3CD2 #D23C48 #93D23C #3CD2C6
split-complementary
#7B3CD2 #D2C63C #48D23C
monochromatic
#421C78 #5E27AA #7B3CD2 #9D6EDD #BE9FE9

Accessibility & contrast

On white

6.14
#7B3CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7B3CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3CD2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CD2#FFFFFF#000000##FFFFFF
##7B3CD21.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#656283
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7b3cd2;
/* rgb */ color: rgb(123, 60, 210);
/* oklch */ color: oklch(52.0% 0.216 297.5);
Tailwind
colors: {
  custom: {
    50: '#a877e1',
    500: '#7b3cd2',
    950: '#000000',
  },
}
SCSS
$custom: #7b3cd2;
$custom-light: #a877e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3cd2",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 265.2,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51992,
    "c": 0.21591,
    "h": 297.5
  },
  "luminance": 0.12096
}

Semantic roles & 50–950 ramp

primary
#7B3CD2
secondary
#BAD594
accent
#E642A1
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7B3CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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