#7B269F#7B269F

#7B269F is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.189 H 313.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7B269F
RGBrgb(123, 38, 159)
HSLhsl(282, 61%, 39%)
HSVhsv(282, 76%, 62%)
CMYKcmyk(22.6%, 76.1%, 0%, 37.6%)
CIE-LABlab(34.19, 54.56, -48.56)
CIE-LCHlch(34.19, 73.05, 318.33°)
OKLaboklab(45.71% 0.13 -0.1372)
OKLCHoklch(45.71% 0.189 313.5)
XYZxyz(15.1184, 8.1009, 33.5614)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B269F #4A9F26
analogous
#3E269F #7B269F #9F2686
triadic
#7B269F #9F7B26 #269F7B
tetradic
#7B269F #9F3E26 #4A9F26 #26869F
square
#7B269F #9F3E26 #4A9F26 #26869F
split-complementary
#7B269F #869F26 #269F3E
monochromatic
#2F0E3C #551A6E #7B269F #A034CE #B765DA

Accessibility & contrast

On white

8.02
#7B269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7B269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B269F
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B269F#FFFFFF#000000##FFFFFF
##7B269F1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#1A529C
Tritanopia (blue-blind)
#774261
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b269f;
/* rgb */ color: rgb(123, 38, 159);
/* oklch */ color: oklch(45.7% 0.189 313.5);
Tailwind
colors: {
  custom: {
    50: '#a56abc',
    500: '#7b269f',
    950: '#000000',
  },
}
SCSS
$custom: #7b269f;
$custom-light: #a56abc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b269f",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 282.149,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45705,
    "c": 0.18902,
    "h": 313.5
  },
  "luminance": 0.081
}

Semantic roles & 50–950 ramp

primary
#7B269F
secondary
#7DC061
accent
#E54373
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B269F

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

Preview Lab → · Contrast checker → · Palette generator →

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