#7F4BD6#7F4BD6

#7F4BD6 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.203 H 296.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7F4BD6
RGBrgb(127, 75, 214)
HSLhsl(262, 63%, 57%)
HSVhsv(262, 65%, 84%)
CMYKcmyk(40.7%, 65%, 0%, 16.1%)
CIE-LABlab(44.80, 51.32, -63.71)
CIE-LCHlch(44.80, 81.81, 308.85°)
OKLaboklab(54.64% 0.0895 -0.1818)
OKLCHoklch(54.64% 0.203 296.2)
XYZxyz(23.4029, 14.3987, 65.1515)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4BD6 #A2D64B
analogous
#4B5DD6 #7F4BD6 #C54BD6
triadic
#7F4BD6 #D67F4B #4BD67F
tetradic
#7F4BD6 #D64B5D #A2D64B #4BD6C5
square
#7F4BD6 #D64B5D #A2D64B #4BD6C5
split-complementary
#7F4BD6 #D6C54B #5DD64B
monochromatic
#461F88 #602ABA #7F4BD6 #A27DE1 #C6AFED

Accessibility & contrast

On white

5.41
#7F4BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7F4BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4BD6
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4BD6#FFFFFF#000000##FFFFFF
##7F4BD61.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#696B8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7f4bd6;
/* rgb */ color: rgb(127, 75, 214);
/* oklch */ color: oklch(54.6% 0.203 296.2);
Tailwind
colors: {
  custom: {
    50: '#aa80e3',
    500: '#7f4bd6',
    950: '#000000',
  },
}
SCSS
$custom: #7f4bd6;
$custom-light: #aa80e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4bd6",
  "rgb": {
    "r": 127,
    "g": 75,
    "b": 214
  },
  "hsl": {
    "h": 262.446,
    "s": 62.896,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54642,
    "c": 0.20262,
    "h": 296.2
  },
  "luminance": 0.14399
}

Semantic roles & 50–950 ramp

primary
#7F4BD6
secondary
#C6DBA2
accent
#E642A9
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7F4BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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