#7B3DD2#7B3DD2

#7B3DD2 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.215 H 297.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7B3DD2
RGBrgb(123, 61, 210)
HSLhsl(265, 62%, 53%)
HSVhsv(265, 71%, 82%)
CMYKcmyk(41.4%, 71%, 0%, 17.6%)
CIE-LABlab(41.53, 56.50, -66.74)
CIE-LCHlch(41.53, 87.44, 310.25°)
OKLaboklab(52.11% 0.0987 -0.1908)
OKLCHoklch(52.11% 0.215 297.3)
XYZxyz(21.4670, 12.2012, 62.1843)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DD2 #94D23D
analogous
#3D4AD2 #7B3DD2 #C53DD2
triadic
#7B3DD2 #D27B3D #3DD27B
tetradic
#7B3DD2 #D23D4A #94D23D #3DD2C5
square
#7B3DD2 #D23D4A #94D23D #3DD2C5
split-complementary
#7B3DD2 #D2C53D #4AD23D
monochromatic
#431C79 #5E28AA #7B3DD2 #9D6FDE #BFA0E9

Accessibility & contrast

On white

6.10
#7B3DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B3DD2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3DD2#FFFFFF#000000##FFFFFF
##7B3DD21.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b3dd2;
/* rgb */ color: rgb(123, 61, 210);
/* oklch */ color: oklch(52.1% 0.215 297.3);
Tailwind
colors: {
  custom: {
    50: '#a878e1',
    500: '#7b3dd2',
    950: '#000000',
  },
}
SCSS
$custom: #7b3dd2;
$custom-light: #a878e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3dd2",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 264.966,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52111,
    "c": 0.21477,
    "h": 297.3
  },
  "luminance": 0.12202
}

Semantic roles & 50–950 ramp

primary
#7B3DD2
secondary
#BBD695
accent
#E542A2
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7B3DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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