#7B267E#7B267E

#7B267E is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.159 H 326.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#7B267E
RGBrgb(123, 38, 126)
HSLhsl(298, 54%, 32%)
HSVhsv(298, 70%, 49%)
CMYKcmyk(2.4%, 69.8%, 0%, 50.6%)
CIE-LABlab(32.04, 48.05, -31.69)
CIE-LCHlch(32.04, 57.55, 326.60°)
OKLaboklab(43.49% 0.1325 -0.0878)
OKLCHoklch(43.49% 0.159 326.5)
XYZxyz(12.6272, 7.1044, 20.4408)
Luminance0.0710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B267E #297E26
analogous
#4F267E #7B267E #7E2655
triadic
#7B267E #7E7B26 #267E7B
tetradic
#7B267E #7E4F26 #297E26 #26557E
square
#7B267E #7E4F26 #297E26 #26557E
split-complementary
#7B267E #557E26 #267E4F
monochromatic
#1F0A20 #4D184F #7B267E #A934AD #C753CB

Accessibility & contrast

On white

8.67
#7B267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7B267E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B267E
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B267E#FFFFFF#000000##FFFFFF
##7B267E1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164481
Deuteranopia (green-blind)
#3A4F7C
Tritanopia (blue-blind)
#7E334F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b267e;
/* rgb */ color: rgb(123, 38, 126);
/* oklch */ color: oklch(43.5% 0.159 326.5);
Tailwind
colors: {
  custom: {
    50: '#a468a4',
    500: '#7b267e',
    950: '#000000',
  },
}
SCSS
$custom: #7b267e;
$custom-light: #a468a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b267e",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 297.955,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43486,
    "c": 0.15898,
    "h": 326.5
  },
  "luminance": 0.07104
}

Semantic roles & 50–950 ramp

primary
#7B267E
secondary
#53B050
accent
#DD4B50
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7B267E

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

Preview Lab → · Contrast checker → · Palette generator →

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