#7F269F#7F269F

#7F269F is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.190 H 315.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#7F269F
RGBrgb(127, 38, 159)
HSLhsl(284, 61%, 39%)
HSVhsv(284, 76%, 62%)
CMYKcmyk(20.1%, 76.1%, 0%, 37.6%)
CIE-LABlab(34.81, 55.36, -47.54)
CIE-LCHlch(34.81, 72.97, 319.35°)
OKLaboklab(46.26% 0.1352 -0.1341)
OKLCHoklch(46.26% 0.19 315.2)
XYZxyz(15.7025, 8.4020, 33.5888)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F269F #469F26
analogous
#42269F #7F269F #9F2682
triadic
#7F269F #9F7F26 #269F7F
tetradic
#7F269F #9F4226 #469F26 #26829F
square
#7F269F #9F4226 #469F26 #26829F
split-complementary
#7F269F #829F26 #269F42
monochromatic
#300E3C #581A6E #7F269F #A634CE #BB65DA

Accessibility & contrast

On white

7.84
#7F269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7F269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F269F
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F269F#FFFFFF#000000##FFFFFF
##7F269F1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#22549C
Tritanopia (blue-blind)
#7C4161
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7f269f;
/* rgb */ color: rgb(127, 38, 159);
/* oklch */ color: oklch(46.3% 0.190 315.2);
Tailwind
colors: {
  custom: {
    50: '#a86abc',
    500: '#7f269f',
    950: '#000000',
  },
}
SCSS
$custom: #7f269f;
$custom-light: #a86abc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f269f",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 284.132,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46264,
    "c": 0.19042,
    "h": 315.2
  },
  "luminance": 0.08401
}

Semantic roles & 50–950 ramp

primary
#7F269F
secondary
#7AC061
accent
#E5436E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7F269F

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

Preview Lab → · Contrast checker → · Palette generator →

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