#7B438F#7B438F

#7B438F is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.3% C 0.131 H 316.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7B438F
RGBrgb(123, 67, 143)
HSLhsl(284, 36%, 41%)
HSVhsv(284, 53%, 56%)
CMYKcmyk(14%, 53.1%, 0%, 43.9%)
CIE-LABlab(38.21, 37.31, -32.42)
CIE-LCHlch(38.21, 49.43, 319.02°)
OKLaboklab(48.3% 0.0951 -0.0902)
OKLCHoklch(48.3% 0.131 316.5)
XYZxyz(15.1327, 10.2089, 27.1546)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B438F #578F43
analogous
#55438F #7B438F #8F437D
triadic
#7B438F #8F7B43 #438F7B
tetradic
#7B438F #8F5543 #578F43 #437D8F
square
#7B438F #8F5543 #578F43 #437D8F
split-complementary
#7B438F #7D8F43 #438F55
monochromatic
#331C3C #572F65 #7B438F #9C5CB3 #B586C6

Accessibility & contrast

On white

6.90
#7B438F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7B438F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B438F
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B438F#FFFFFF#000000##FFFFFF
##7B438F1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335692
Deuteranopia (green-blind)
#445C8D
Tritanopia (blue-blind)
#7A4F62
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b438f;
/* rgb */ color: rgb(123, 67, 143);
/* oklch */ color: oklch(48.3% 0.131 316.5);
Tailwind
colors: {
  custom: {
    50: '#a379b0',
    500: '#7b438f',
    950: '#000000',
  },
}
SCSS
$custom: #7b438f;
$custom-light: #a379b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b438f",
  "rgb": {
    "r": 123,
    "g": 67,
    "b": 143
  },
  "hsl": {
    "h": 284.211,
    "s": 36.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48295,
    "c": 0.13106,
    "h": 316.5
  },
  "luminance": 0.10208
}

Semantic roles & 50–950 ramp

primary
#7B438F
secondary
#8AB17D
accent
#CC5C79
background
#FAF7FA
surface
#F4EDF5
border
#CEC8CF
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #7B438F

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

Preview Lab → · Contrast checker → · Palette generator →

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