#7B269D#7B269D

#7B269D is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.187 H 314.1°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7B269D
RGBrgb(123, 38, 157)
HSLhsl(283, 61%, 38%)
HSVhsv(283, 76%, 62%)
CMYKcmyk(21.7%, 75.8%, 0%, 38.4%)
CIE-LABlab(34.05, 54.15, -47.58)
CIE-LCHlch(34.05, 72.08, 318.69°)
OKLaboklab(45.56% 0.1303 -0.1343)
OKLCHoklch(45.56% 0.187 314.1)
XYZxyz(14.9463, 8.0320, 32.6548)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B269D #489D26
analogous
#3F269D #7B269D #9D2683
triadic
#7B269D #9D7B26 #269D7B
tetradic
#7B269D #9D3F26 #489D26 #26839D
square
#7B269D #9D3F26 #489D26 #26839D
split-complementary
#7B269D #839D26 #269D3F
monochromatic
#2E0E3A #541A6C #7B269D #A133CE #B864D9

Accessibility & contrast

On white

8.06
#7B269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7B269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B269D
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B269D#FFFFFF#000000##FFFFFF
##7B269D1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#1D529A
Tritanopia (blue-blind)
#784160
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b269d;
/* rgb */ color: rgb(123, 38, 157);
/* oklch */ color: oklch(45.6% 0.187 314.1);
Tailwind
colors: {
  custom: {
    50: '#a56abb',
    500: '#7b269d',
    950: '#000000',
  },
}
SCSS
$custom: #7b269d;
$custom-light: #a56abb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b269d",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 282.857,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45559,
    "c": 0.18716,
    "h": 314.1
  },
  "luminance": 0.08032
}

Semantic roles & 50–950 ramp

primary
#7B269D
secondary
#7BBF60
accent
#E44472
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B269D

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

Preview Lab → · Contrast checker → · Palette generator →

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