#7B268F#7B268F

#7B268F is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.174 H 319.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7B268F
RGBrgb(123, 38, 143)
HSLhsl(289, 58%, 35%)
HSVhsv(289, 73%, 56%)
CMYKcmyk(14%, 73.4%, 0%, 43.9%)
CIE-LABlab(33.09, 51.30, -40.56)
CIE-LCHlch(33.09, 65.40, 321.67°)
OKLaboklab(44.58% 0.132 -0.1137)
OKLCHoklch(44.58% 0.174 319.2)
XYZxyz(13.8188, 7.5810, 26.7167)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B268F #3A8F26
analogous
#46268F #7B268F #8F266F
triadic
#7B268F #8F7B26 #268F7B
tetradic
#7B268F #8F4626 #3A8F26 #266F8F
square
#7B268F #8F4626 #3A8F26 #266F8F
split-complementary
#7B268F #6F8F26 #268F46
monochromatic
#280C2E #51195F #7B268F #A533BF #BD5CD4

Accessibility & contrast

On white

8.35
#7B268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7B268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B268F
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B268F#FFFFFF#000000##FFFFFF
##7B268F1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#2E518D
Tritanopia (blue-blind)
#7B3B58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b268f;
/* rgb */ color: rgb(123, 38, 143);
/* oklch */ color: oklch(44.6% 0.174 319.2);
Tailwind
colors: {
  custom: {
    50: '#a569b0',
    500: '#7b268f',
    950: '#000000',
  },
}
SCSS
$custom: #7b268f;
$custom-light: #a569b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b268f",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 288.571,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44577,
    "c": 0.17422,
    "h": 319.2
  },
  "luminance": 0.0758
}

Semantic roles & 50–950 ramp

primary
#7B268F
secondary
#6BB958
accent
#E14764
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B268F

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

Preview Lab → · Contrast checker → · Palette generator →

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