#7B388E#7B388E

#7B388E is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.6% C 0.148 H 318.2°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#7B388E
RGBrgb(123, 56, 142)
HSLhsl(287, 43%, 39%)
HSVhsv(287, 61%, 56%)
CMYKcmyk(13.4%, 60.6%, 0%, 44.3%)
CIE-LABlab(35.97, 42.94, -35.36)
CIE-LCHlch(35.97, 55.62, 320.53°)
OKLaboklab(46.63% 0.1104 -0.0987)
OKLCHoklch(46.63% 0.148 318.2)
XYZxyz(14.4644, 8.9929, 26.5598)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B388E #4B8E38
analogous
#50388E #7B388E #8E3876
triadic
#7B388E #8E7B38 #388E7B
tetradic
#7B388E #8E5038 #4B8E38 #38768E
square
#7B388E #8E5038 #4B8E38 #38768E
split-complementary
#7B388E #768E38 #388E50
monochromatic
#2F1536 #552762 #7B388E #A04BB8 #B777C9

Accessibility & contrast

On white

7.50
#7B388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7B388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B388E
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B388E#FFFFFF#000000##FFFFFF
##7B388E1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225091
Deuteranopia (green-blind)
#3C578C
Tritanopia (blue-blind)
#7B465D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7b388e;
/* rgb */ color: rgb(123, 56, 142);
/* oklch */ color: oklch(46.6% 0.148 318.2);
Tailwind
colors: {
  custom: {
    50: '#a472af',
    500: '#7b388e',
    950: '#000000',
  },
}
SCSS
$custom: #7b388e;
$custom-light: #a472af;
$custom-dark: #000000;
JSON
{
  "hex": "#7b388e",
  "rgb": {
    "r": 123,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 286.744,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46631,
    "c": 0.1481,
    "h": 318.2
  },
  "luminance": 0.08992
}

Semantic roles & 50–950 ramp

primary
#7B388E
secondary
#7EB26F
accent
#D35571
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7B388E

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

Preview Lab → · Contrast checker → · Palette generator →

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