#7F29B0#7F29B0

#7F29B0 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.203 H 309.6°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7F29B0
RGBrgb(127, 41, 176)
HSLhsl(278, 62%, 43%)
HSVhsv(278, 77%, 69%)
CMYKcmyk(27.8%, 76.7%, 0%, 31%)
CIE-LABlab(36.43, 57.81, -55.12)
CIE-LCHlch(36.43, 79.87, 316.37°)
OKLaboklab(47.8% 0.1295 -0.1563)
OKLCHoklch(47.8% 0.203 309.6)
XYZxyz(17.3802, 9.2328, 41.9324)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F29B0 #5AB029
analogous
#3B29B0 #7F29B0 #B0299E
triadic
#7F29B0 #B07F29 #29B07F
tetradic
#7F29B0 #B03B29 #5AB029 #299EB0
square
#7F29B0 #B03B29 #5AB029 #299EB0
split-complementary
#7F29B0 #9EB029 #29B03B
monochromatic
#37124D #5B1D7E #7F29B0 #9F43D3 #B875DF

Accessibility & contrast

On white

7.38
#7F29B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7F29B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F29B0
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F29B0#FFFFFF#000000##FFFFFF
##7F29B01.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#784A6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7f29b0;
/* rgb */ color: rgb(127, 41, 176);
/* oklch */ color: oklch(47.8% 0.203 309.6);
Tailwind
colors: {
  custom: {
    50: '#a96cc8',
    500: '#7f29b0',
    950: '#000000',
  },
}
SCSS
$custom: #7f29b0;
$custom-light: #a96cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f29b0",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 176
  },
  "hsl": {
    "h": 278.222,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47798,
    "c": 0.20304,
    "h": 309.6
  },
  "luminance": 0.09232
}

Semantic roles & 50–950 ramp

primary
#7F29B0
secondary
#8EC66F
accent
#E5437E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F29B0

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

Preview Lab → · Contrast checker → · Palette generator →

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