#7F10B2#7F10B2

#7F10B2 is a mid, highly saturated purple. Relative luminance 0.081; OKLCH L 46.3% C 0.224 H 310.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7F10B2
RGBrgb(127, 16, 178)
HSLhsl(281, 84%, 38%)
HSVhsv(281, 91%, 70%)
CMYKcmyk(28.7%, 91%, 0%, 30.2%)
CIE-LABlab(34.18, 65.24, -59.96)
CIE-LCHlch(34.18, 88.61, 317.42°)
OKLaboklab(46.29% 0.1454 -0.1704)
OKLCHoklch(46.29% 0.224 310.5)
XYZxyz(16.9720, 8.0974, 42.7797)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F10B2 #43B210
analogous
#2E10B2 #7F10B2 #B21094
triadic
#7F10B2 #B27F10 #10B27F
tetradic
#7F10B2 #B22E10 #43B210 #1094B2
square
#7F10B2 #B22E10 #43B210 #1094B2
split-complementary
#7F10B2 #94B210 #10B22E
monochromatic
#2F0642 #570B7A #7F10B2 #A715EA #BC4DEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F10B2#FFFFFF#000000##FFFFFF
##7F10B21.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)
#004CB6
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#784269
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7f10b2;
/* rgb */ color: rgb(127, 16, 178);
/* oklch */ color: oklch(46.3% 0.224 310.5);
Tailwind
colors: {
  custom: {
    50: '#aa64ca',
    500: '#7f10b2',
    950: '#000000',
  },
}
SCSS
$custom: #7f10b2;
$custom-light: #aa64ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7f10b2",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 178
  },
  "hsl": {
    "h": 281.111,
    "s": 83.505,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46285,
    "c": 0.22402,
    "h": 310.5
  },
  "luminance": 0.08097
}

Semantic roles & 50–950 ramp

primary
#7F10B2
secondary
#77D04D
accent
#FA2E6E
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110613
muted
#807A82

Preview Lab

Preview with #7F10B2

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

Preview Lab → · Contrast checker → · Palette generator →

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