#7B269E#7B269E

#7B269E is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.188 H 313.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7B269E
RGBrgb(123, 38, 158)
HSLhsl(283, 61%, 38%)
HSVhsv(283, 76%, 62%)
CMYKcmyk(22.2%, 75.9%, 0%, 38%)
CIE-LABlab(34.12, 54.36, -48.07)
CIE-LCHlch(34.12, 72.56, 318.51°)
OKLaboklab(45.63% 0.1302 -0.1358)
OKLCHoklch(45.63% 0.188 313.8)
XYZxyz(15.0320, 8.0663, 33.1062)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B269E #499E26
analogous
#3F269E #7B269E #9E2685
triadic
#7B269E #9E7B26 #269E7B
tetradic
#7B269E #9E3F26 #499E26 #26859E
square
#7B269E #9E3F26 #499E26 #26859E
split-complementary
#7B269E #859E26 #269E3F
monochromatic
#2E0E3B #551A6D #7B269E #A133CE #B865DA

Accessibility & contrast

On white

8.04
#7B269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B269E
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B269E#FFFFFF#000000##FFFFFF
##7B269E1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#1C529B
Tritanopia (blue-blind)
#774160
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b269e;
/* rgb */ color: rgb(123, 38, 158);
/* oklch */ color: oklch(45.6% 0.188 313.8);
Tailwind
colors: {
  custom: {
    50: '#a56abb',
    500: '#7b269e',
    950: '#000000',
  },
}
SCSS
$custom: #7b269e;
$custom-light: #a56abb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b269e",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 282.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45632,
    "c": 0.18809,
    "h": 313.8
  },
  "luminance": 0.08066
}

Semantic roles & 50–950 ramp

primary
#7B269E
secondary
#7CC060
accent
#E44372
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B269E

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

Preview Lab → · Contrast checker → · Palette generator →

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