#7B268B#7B268B

#7B268B is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.171 H 320.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7B268B
RGBrgb(123, 38, 139)
HSLhsl(290, 57%, 35%)
HSVhsv(290, 73%, 55%)
CMYKcmyk(11.5%, 72.7%, 0%, 45.5%)
CIE-LABlab(32.84, 50.51, -38.51)
CIE-LCHlch(32.84, 63.52, 322.68°)
OKLaboklab(44.31% 0.1322 -0.1077)
OKLCHoklch(44.31% 0.171 320.8)
XYZxyz(13.5211, 7.4620, 25.1492)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B268B #368B26
analogous
#49268B #7B268B #8B2669
triadic
#7B268B #8B7B26 #268B7B
tetradic
#7B268B #8B4926 #368B26 #26698B
square
#7B268B #8B4926 #368B26 #26698B
split-complementary
#7B268B #698B26 #268B49
monochromatic
#260C2B #50195B #7B268B #A633BB #BF5AD2

Accessibility & contrast

On white

8.43
#7B268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7B268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B268B
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B268B#FFFFFF#000000##FFFFFF
##7B268B1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#315089
Tritanopia (blue-blind)
#7C3956
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b268b;
/* rgb */ color: rgb(123, 38, 139);
/* oklch */ color: oklch(44.3% 0.171 320.8);
Tailwind
colors: {
  custom: {
    50: '#a469ad',
    500: '#7b268b',
    950: '#000000',
  },
}
SCSS
$custom: #7b268b;
$custom-light: #a469ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7b268b",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 290.495,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4431,
    "c": 0.17058,
    "h": 320.8
  },
  "luminance": 0.07461
}

Semantic roles & 50–950 ramp

primary
#7B268B
secondary
#65B756
accent
#E04760
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B268B

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

Preview Lab → · Contrast checker → · Palette generator →

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