#7F4BD3#7F4BD3

#7F4BD3 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.4% C 0.199 H 296.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7F4BD3
RGBrgb(127, 75, 211)
HSLhsl(263, 61%, 56%)
HSVhsv(263, 64%, 83%)
CMYKcmyk(39.8%, 64.5%, 0%, 17.3%)
CIE-LABlab(44.59, 50.54, -62.33)
CIE-LCHlch(44.59, 80.25, 309.04°)
OKLaboklab(54.42% 0.0899 -0.1777)
OKLCHoklch(54.42% 0.199 296.8)
XYZxyz(23.0233, 14.2469, 63.1523)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4BD3 #9FD34B
analogous
#4B5BD3 #7F4BD3 #C34BD3
triadic
#7F4BD3 #D37F4B #4BD37F
tetradic
#7F4BD3 #D34B5B #9FD34B #4BD3C3
square
#7F4BD3 #D34B5B #9FD34B #4BD3C3
split-complementary
#7F4BD3 #D3C34B #5BD34B
monochromatic
#462083 #602CB5 #7F4BD3 #A27CDF #C5ADEB

Accessibility & contrast

On white

5.46
#7F4BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7F4BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4BD3
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4BD3#FFFFFF#000000##FFFFFF
##7F4BD31.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#6A6A88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7f4bd3;
/* rgb */ color: rgb(127, 75, 211);
/* oklch */ color: oklch(54.4% 0.199 296.8);
Tailwind
colors: {
  custom: {
    50: '#aa80e1',
    500: '#7f4bd3',
    950: '#000000',
  },
}
SCSS
$custom: #7f4bd3;
$custom-light: #aa80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4bd3",
  "rgb": {
    "r": 127,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 262.941,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5442,
    "c": 0.19916,
    "h": 296.8
  },
  "luminance": 0.14247
}

Semantic roles & 50–950 ramp

primary
#7F4BD3
secondary
#C4D9A1
accent
#E444A7
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7F4BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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