#7B389E#7B389E

#7B389E is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.7% C 0.165 H 312.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7B389E
RGBrgb(123, 56, 158)
HSLhsl(279, 48%, 42%)
HSVhsv(279, 65%, 62%)
CMYKcmyk(22.2%, 64.6%, 0%, 38%)
CIE-LABlab(36.95, 46.44, -43.53)
CIE-LCHlch(36.95, 63.65, 316.85°)
OKLaboklab(47.65% 0.1105 -0.1225)
OKLCHoklch(47.65% 0.165 312)
XYZxyz(15.7530, 9.5083, 33.3466)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B389E #5B9E38
analogous
#48389E #7B389E #9E388E
triadic
#7B389E #9E7B38 #389E7B
tetradic
#7B389E #9E4838 #5B9E38 #388E9E
square
#7B389E #9E4838 #5B9E38 #388E9E
split-complementary
#7B389E #8E9E38 #389E48
monochromatic
#351844 #582871 #7B389E #9B52C2 #B57FD2

Accessibility & contrast

On white

7.24
#7B389E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7B389E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B389E
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B389E#FFFFFF#000000##FFFFFF
##7B389E1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0654A1
Deuteranopia (green-blind)
#2F589C
Tritanopia (blue-blind)
#774C66
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7b389e;
/* rgb */ color: rgb(123, 56, 158);
/* oklch */ color: oklch(47.7% 0.165 312.0);
Tailwind
colors: {
  custom: {
    50: '#a473bb',
    500: '#7b389e',
    950: '#000000',
  },
}
SCSS
$custom: #7b389e;
$custom-light: #a473bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b389e",
  "rgb": {
    "r": 123,
    "g": 56,
    "b": 158
  },
  "hsl": {
    "h": 279.412,
    "s": 47.664,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47652,
    "c": 0.16499,
    "h": 312
  },
  "luminance": 0.09508
}

Semantic roles & 50–950 ramp

primary
#7B389E
secondary
#8EBB77
accent
#D7517F
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7B389E

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

Preview Lab → · Contrast checker → · Palette generator →

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