#7F29B2#7F29B2

#7F29B2 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.0% C 0.205 H 309.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7F29B2
RGBrgb(127, 41, 178)
HSLhsl(278, 63%, 43%)
HSVhsv(278, 77%, 70%)
CMYKcmyk(28.7%, 77%, 0%, 30.2%)
CIE-LABlab(36.58, 58.24, -56.06)
CIE-LCHlch(36.58, 80.84, 316.09°)
OKLaboklab(47.95% 0.1291 -0.1591)
OKLCHoklch(47.95% 0.205 309.1)
XYZxyz(17.5796, 9.3126, 42.9823)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F29B2 #5CB229
analogous
#3A29B2 #7F29B2 #B229A0
triadic
#7F29B2 #B27F29 #29B27F
tetradic
#7F29B2 #B23A29 #5CB229 #29A0B2
square
#7F29B2 #B23A29 #5CB229 #29A0B2
split-complementary
#7F29B2 #A0B229 #29B23A
monochromatic
#38124F #5C1E80 #7F29B2 #9E44D4 #B876DF

Accessibility & contrast

On white

7.34
#7F29B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7F29B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F29B2
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F29B2#FFFFFF#000000##FFFFFF
##7F29B21.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#774B6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7f29b2;
/* rgb */ color: rgb(127, 41, 178);
/* oklch */ color: oklch(48.0% 0.205 309.1);
Tailwind
colors: {
  custom: {
    50: '#a96cca',
    500: '#7f29b2',
    950: '#000000',
  },
}
SCSS
$custom: #7f29b2;
$custom-light: #a96cca;
$custom-dark: #000000;
JSON
{
  "hex": "#7f29b2",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 277.664,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47951,
    "c": 0.20492,
    "h": 309.1
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#7F29B2
secondary
#90C770
accent
#E6427F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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