#7B438D#7B438D

#7B438D is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.2% C 0.129 H 317.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7B438D
RGBrgb(123, 67, 141)
HSLhsl(285, 36%, 41%)
HSVhsv(285, 52%, 55%)
CMYKcmyk(12.8%, 52.5%, 0%, 44.7%)
CIE-LABlab(38.11, 36.87, -31.37)
CIE-LCHlch(38.11, 48.41, 319.61°)
OKLaboklab(48.18% 0.0949 -0.0871)
OKLCHoklch(48.18% 0.129 317.4)
XYZxyz(14.9826, 10.1489, 26.3638)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B438D #558D43
analogous
#56438D #7B438D #8D437A
triadic
#7B438D #8D7B43 #438D7B
tetradic
#7B438D #8D5643 #558D43 #437A8D
square
#7B438D #8D5643 #558D43 #437A8D
split-complementary
#7B438D #7A8D43 #438D56
monochromatic
#331C3A #572F64 #7B438D #9D5CB1 #B685C5

Accessibility & contrast

On white

6.93
#7B438D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7B438D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B438D
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B438D#FFFFFF#000000##FFFFFF
##7B438D1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34568F
Deuteranopia (green-blind)
#455C8B
Tritanopia (blue-blind)
#7B4E61
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b438d;
/* rgb */ color: rgb(123, 67, 141);
/* oklch */ color: oklch(48.2% 0.129 317.4);
Tailwind
colors: {
  custom: {
    50: '#a379ae',
    500: '#7b438d',
    950: '#000000',
  },
}
SCSS
$custom: #7b438d;
$custom-light: #a379ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7b438d",
  "rgb": {
    "r": 123,
    "g": 67,
    "b": 141
  },
  "hsl": {
    "h": 285.405,
    "s": 35.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48182,
    "c": 0.1288,
    "h": 317.4
  },
  "luminance": 0.10148
}

Semantic roles & 50–950 ramp

primary
#7B438D
secondary
#88B07C
accent
#CC5C77
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #7B438D

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

Preview Lab → · Contrast checker → · Palette generator →

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