#7F4BD1#7F4BD1

#7F4BD1 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.3% C 0.197 H 297.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7F4BD1
RGBrgb(127, 75, 209)
HSLhsl(263, 59%, 56%)
HSVhsv(263, 64%, 82%)
CMYKcmyk(39.2%, 64.1%, 0%, 18%)
CIE-LABlab(44.44, 50.02, -61.42)
CIE-LCHlch(44.44, 79.21, 309.16°)
OKLaboklab(54.27% 0.09 -0.175)
OKLCHoklch(54.27% 0.197 297.2)
XYZxyz(22.7741, 14.1472, 61.8401)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4BD1 #9DD14B
analogous
#4B5AD1 #7F4BD1 #C24BD1
triadic
#7F4BD1 #D17F4B #4BD17F
tetradic
#7F4BD1 #D14B5A #9DD14B #4BD1C2
square
#7F4BD1 #D14B5A #9DD14B #4BD1C2
split-complementary
#7F4BD1 #D1C24B #5AD14B
monochromatic
#462181 #612DB1 #7F4BD1 #A27CDD #C4ACEA

Accessibility & contrast

On white

5.48
#7F4BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7F4BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4BD1
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4BD1#FFFFFF#000000##FFFFFF
##7F4BD11.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#6B6A87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7f4bd1;
/* rgb */ color: rgb(127, 75, 209);
/* oklch */ color: oklch(54.3% 0.197 297.2);
Tailwind
colors: {
  custom: {
    50: '#aa80e0',
    500: '#7f4bd1',
    950: '#000000',
  },
}
SCSS
$custom: #7f4bd1;
$custom-light: #aa80e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4bd1",
  "rgb": {
    "r": 127,
    "g": 75,
    "b": 209
  },
  "hsl": {
    "h": 263.284,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54273,
    "c": 0.19684,
    "h": 297.2
  },
  "luminance": 0.14148
}

Semantic roles & 50–950 ramp

primary
#7F4BD1
secondary
#C2D8A0
accent
#E245A5
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F4BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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