#7B3BA2#7B3BA2

#7B3BA2 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.3% C 0.165 H 310.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7B3BA2
RGBrgb(123, 59, 162)
HSLhsl(277, 47%, 43%)
HSVhsv(277, 64%, 64%)
CMYKcmyk(24.1%, 63.6%, 0%, 36.5%)
CIE-LABlab(37.75, 45.85, -44.65)
CIE-LCHlch(37.75, 63.99, 315.76°)
OKLaboklab(48.32% 0.1066 -0.1258)
OKLCHoklch(48.32% 0.165 310.3)
XYZxyz(16.2527, 9.9478, 35.2394)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3BA2 #62A23B
analogous
#483BA2 #7B3BA2 #A23B95
triadic
#7B3BA2 #A27B3B #3BA27B
tetradic
#7B3BA2 #A2483B #62A23B #3B95A2
square
#7B3BA2 #A2483B #62A23B #3B95A2
split-complementary
#7B3BA2 #95A23B #3BA248
monochromatic
#371A48 #592B75 #7B3BA2 #9A58C2 #B585D3

Accessibility & contrast

On white

7.02
#7B3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7B3BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B3BA2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3BA2#FFFFFF#000000##FFFFFF
##7B3BA21.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0756A5
Deuteranopia (green-blind)
#2F5AA0
Tritanopia (blue-blind)
#764F69
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b3ba2;
/* rgb */ color: rgb(123, 59, 162);
/* oklch */ color: oklch(48.3% 0.165 310.3);
Tailwind
colors: {
  custom: {
    50: '#a475be',
    500: '#7b3ba2',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ba2;
$custom-light: #a475be;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ba2",
  "rgb": {
    "r": 123,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 277.282,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48315,
    "c": 0.16493,
    "h": 310.3
  },
  "luminance": 0.09948
}

Semantic roles & 50–950 ramp

primary
#7B3BA2
secondary
#95BD7C
accent
#D65284
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7B3BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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