#7F269C#7F269C

#7F269C is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.188 H 316.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#7F269C
RGBrgb(127, 38, 156)
HSLhsl(285, 61%, 38%)
HSVhsv(285, 76%, 61%)
CMYKcmyk(18.6%, 75.6%, 0%, 38.8%)
CIE-LABlab(34.60, 54.75, -46.06)
CIE-LCHlch(34.60, 71.55, 319.93°)
OKLaboklab(46.05% 0.1356 -0.1297)
OKLCHoklch(46.05% 0.188 316.3)
XYZxyz(15.4453, 8.2992, 32.2344)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F269C #439C26
analogous
#44269C #7F269C #9C267E
triadic
#7F269C #9C7F26 #269C7F
tetradic
#7F269C #9C4426 #439C26 #267E9C
square
#7F269C #9C4426 #439C26 #267E9C
split-complementary
#7F269C #7E9C26 #269C44
monochromatic
#2F0E3A #571A6B #7F269C #A732CD #BC63D9

Accessibility & contrast

On white

7.90
#7F269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7F269C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F269C
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F269C#FFFFFF#000000##FFFFFF
##7F269C1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#255499
Tritanopia (blue-blind)
#7D3F5F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7f269c;
/* rgb */ color: rgb(127, 38, 156);
/* oklch */ color: oklch(46.1% 0.188 316.3);
Tailwind
colors: {
  custom: {
    50: '#a86aba',
    500: '#7f269c',
    950: '#000000',
  },
}
SCSS
$custom: #7f269c;
$custom-light: #a86aba;
$custom-dark: #000000;
JSON
{
  "hex": "#7f269c",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 285.254,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46051,
    "c": 0.18768,
    "h": 316.3
  },
  "luminance": 0.08299
}

Semantic roles & 50–950 ramp

primary
#7F269C
secondary
#77BF5F
accent
#E4446B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7F269C

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

Preview Lab → · Contrast checker → · Palette generator →

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