#7F2695#7F2695

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

Color values

HEX#7F2695
RGBrgb(127, 38, 149)
HSLhsl(288, 59%, 37%)
HSVhsv(288, 74%, 58%)
CMYKcmyk(14.8%, 74.5%, 0%, 41.6%)
CIE-LABlab(34.13, 53.36, -42.55)
CIE-LCHlch(34.13, 68.25, 321.43°)
OKLaboklab(45.57% 0.1364 -0.1194)
OKLCHoklch(45.57% 0.181 318.8)
XYZxyz(14.8696, 8.0689, 29.2021)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2695 #3C9526
analogous
#482695 #7F2695 #952674
triadic
#7F2695 #957F26 #26957F
tetradic
#7F2695 #954826 #3C9526 #267495
square
#7F2695 #954826 #3C9526 #267495
split-complementary
#7F2695 #749526 #269548
monochromatic
#2C0D33 #551A64 #7F2695 #A932C6 #BF5FD6

Accessibility & contrast

On white

8.03
#7F2695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2695
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2695#FFFFFF#000000##FFFFFF
##7F26951.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#2D5392
Tritanopia (blue-blind)
#7F3C5B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7f2695;
/* rgb */ color: rgb(127, 38, 149);
/* oklch */ color: oklch(45.6% 0.181 318.8);
Tailwind
colors: {
  custom: {
    50: '#a86ab5',
    500: '#7f2695',
    950: '#000000',
  },
}
SCSS
$custom: #7f2695;
$custom-light: #a86ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2695",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 288.108,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45565,
    "c": 0.18134,
    "h": 318.8
  },
  "luminance": 0.08068
}

Semantic roles & 50–950 ramp

primary
#7F2695
secondary
#6EBB5B
accent
#E34564
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2695

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

Preview Lab → · Contrast checker → · Palette generator →

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