#7B267B#7B267B

#7B267B is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.156 H 327.9°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#7B267B
RGBrgb(123, 38, 123)
HSLhsl(300, 53%, 32%)
HSVhsv(300, 69%, 48%)
CMYKcmyk(0%, 69.1%, 0%, 51.8%)
CIE-LABlab(31.87, 47.50, -30.08)
CIE-LCHlch(31.87, 56.22, 327.66°)
OKLaboklab(43.31% 0.1324 -0.0832)
OKLCHoklch(43.31% 0.156 327.9)
XYZxyz(12.4365, 7.0281, 19.4366)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B267B #267B26
analogous
#51267B #7B267B #7B2651
triadic
#7B267B #7B7B26 #267B7B
tetradic
#7B267B #7B5126 #267B26 #26517B
square
#7B267B #7B5126 #267B26 #26517B
split-complementary
#7B267B #517B26 #267B51
monochromatic
#1D091D #4C184C #7B267B #AA34AA #CA52CA

Accessibility & contrast

On white

8.73
#7B267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7B267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B267B
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B267B#FFFFFF#000000##FFFFFF
##7B267B1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447D
Deuteranopia (green-blind)
#3B4F79
Tritanopia (blue-blind)
#7F324D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b267b;
/* rgb */ color: rgb(123, 38, 123);
/* oklch */ color: oklch(43.3% 0.156 327.9);
Tailwind
colors: {
  custom: {
    50: '#a468a1',
    500: '#7b267b',
    950: '#000000',
  },
}
SCSS
$custom: #7b267b;
$custom-light: #a468a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b267b",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 300,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43306,
    "c": 0.15637,
    "h": 327.9
  },
  "luminance": 0.07027
}

Semantic roles & 50–950 ramp

primary
#7B267B
secondary
#50AD50
accent
#DC4C4C
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7B267B

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

Preview Lab → · Contrast checker → · Palette generator →

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