#7F4BD5#7F4BD5

#7F4BD5 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.6% C 0.201 H 296.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7F4BD5
RGBrgb(127, 75, 213)
HSLhsl(263, 62%, 56%)
HSVhsv(263, 65%, 84%)
CMYKcmyk(40.4%, 64.8%, 0%, 16.5%)
CIE-LABlab(44.73, 51.06, -63.25)
CIE-LCHlch(44.73, 81.29, 308.91°)
OKLaboklab(54.57% 0.0896 -0.1804)
OKLCHoklch(54.57% 0.201 296.4)
XYZxyz(23.2756, 14.3478, 64.4810)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4BD5 #A1D54B
analogous
#4B5CD5 #7F4BD5 #C44BD5
triadic
#7F4BD5 #D57F4B #4BD57F
tetradic
#7F4BD5 #D54B5C #A1D54B #4BD5C4
square
#7F4BD5 #D54B5C #A1D54B #4BD5C4
split-complementary
#7F4BD5 #D5C44B #5CD54B
monochromatic
#461F86 #602BB8 #7F4BD5 #A27DE1 #C6AEEC

Accessibility & contrast

On white

5.43
#7F4BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7F4BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4BD5
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4BD5#FFFFFF#000000##FFFFFF
##7F4BD51.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#696B89
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7f4bd5;
/* rgb */ color: rgb(127, 75, 213);
/* oklch */ color: oklch(54.6% 0.201 296.4);
Tailwind
colors: {
  custom: {
    50: '#aa80e3',
    500: '#7f4bd5',
    950: '#000000',
  },
}
SCSS
$custom: #7f4bd5;
$custom-light: #aa80e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4bd5",
  "rgb": {
    "r": 127,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 262.609,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54568,
    "c": 0.20147,
    "h": 296.4
  },
  "luminance": 0.14348
}

Semantic roles & 50–950 ramp

primary
#7F4BD5
secondary
#C5DAA2
accent
#E543A8
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110A15
muted
#807C84

Preview Lab

Preview with #7F4BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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