#7B3DC8#7B3DC8

#7B3DC8 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.204 H 299.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7B3DC8
RGBrgb(123, 61, 200)
HSLhsl(267, 56%, 51%)
HSVhsv(267, 70%, 78%)
CMYKcmyk(38.5%, 69.5%, 0%, 21.6%)
CIE-LABlab(40.76, 54.00, -62.20)
CIE-LCHlch(40.76, 82.37, 310.96°)
OKLaboklab(51.32% 0.1004 -0.1774)
OKLCHoklch(51.32% 0.204 299.5)
XYZxyz(20.2598, 11.7183, 55.8269)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DC8 #8AC83D
analogous
#3D44C8 #7B3DC8 #C13DC8
triadic
#7B3DC8 #C87B3D #3DC87B
tetradic
#7B3DC8 #C83D44 #8AC83D #3DC8C1
square
#7B3DC8 #C83D44 #8AC83D #3DC8C1
split-complementary
#7B3DC8 #C8C13D #44C83D
monochromatic
#411F6C #5E2C9C #7B3DC8 #9B6DD6 #BC9CE3

Accessibility & contrast

On white

6.28
#7B3DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7B3DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3DC8
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3DC8#FFFFFF#000000##FFFFFF
##7B3DC81.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#695E7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b3dc8;
/* rgb */ color: rgb(123, 61, 200);
/* oklch */ color: oklch(51.3% 0.204 299.5);
Tailwind
colors: {
  custom: {
    50: '#a777da',
    500: '#7b3dc8',
    950: '#000000',
  },
}
SCSS
$custom: #7b3dc8;
$custom-light: #a777da;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3dc8",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 266.763,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51323,
    "c": 0.20389,
    "h": 299.5
  },
  "luminance": 0.11719
}

Semantic roles & 50–950 ramp

primary
#7B3DC8
secondary
#B4CF92
accent
#DF499C
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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