#7F1EBB#7F1EBB

#7F1EBB is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.8% C 0.223 H 307.3°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7F1EBB
RGBrgb(127, 30, 187)
HSLhsl(277, 72%, 43%)
HSVhsv(277, 84%, 73%)
CMYKcmyk(32.1%, 84%, 0%, 26.7%)
CIE-LABlab(36.04, 63.80, -62.27)
CIE-LCHlch(36.04, 89.15, 315.70°)
OKLaboklab(47.8% 0.1352 -0.1773)
OKLCHoklch(47.8% 0.223 307.3)
XYZxyz(18.1844, 9.0287, 47.7888)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1EBB #5ABB1E
analogous
#311EBB #7F1EBB #BB1EA8
triadic
#7F1EBB #BB7F1E #1EBB7F
tetradic
#7F1EBB #BB311E #5ABB1E #1EA8BB
square
#7F1EBB #BB311E #5ABB1E #1EA8BB
split-complementary
#7F1EBB #A8BB1E #1EBB31
monochromatic
#370D52 #5B1686 #7F1EBB #9F37DF #B86CE7

Accessibility & contrast

On white

7.49
#7F1EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7F1EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1EBB
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1EBB#FFFFFF#000000##FFFFFF
##7F1EBB1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#754A70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7f1ebb;
/* rgb */ color: rgb(127, 30, 187);
/* oklch */ color: oklch(47.8% 0.223 307.3);
Tailwind
colors: {
  custom: {
    50: '#aa68d0',
    500: '#7f1ebb',
    950: '#000000',
  },
}
SCSS
$custom: #7f1ebb;
$custom-light: #aa68d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1ebb",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 187
  },
  "hsl": {
    "h": 277.07,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47796,
    "c": 0.22293,
    "h": 307.3
  },
  "luminance": 0.09028
}

Semantic roles & 50–950 ramp

primary
#7F1EBB
secondary
#8ECD67
accent
#EF397E
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #7F1EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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