#7F4BC9#7F4BC9

#7F4BC9 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.7% C 0.188 H 298.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7F4BC9
RGBrgb(127, 75, 201)
HSLhsl(265, 54%, 54%)
HSVhsv(265, 63%, 79%)
CMYKcmyk(36.8%, 62.7%, 0%, 21.2%)
CIE-LABlab(43.89, 47.96, -57.70)
CIE-LCHlch(43.89, 75.03, 309.73°)
OKLaboklab(53.7% 0.0907 -0.1641)
OKLCHoklch(53.7% 0.188 298.9)
XYZxyz(21.8085, 13.7610, 56.7542)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4BC9 #95C94B
analogous
#4B56C9 #7F4BC9 #BE4BC9
triadic
#7F4BC9 #C97F4B #4BC97F
tetradic
#7F4BC9 #C94B56 #95C94B #4BC9BE
square
#7F4BC9 #C94B56 #95C94B #4BC9BE
split-complementary
#7F4BC9 #C9BE4B #56C94B
monochromatic
#462376 #6132A5 #7F4BC9 #A07AD7 #C2A9E5

Accessibility & contrast

On white

5.60
#7F4BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7F4BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4BC9
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4BC9#FFFFFF#000000##FFFFFF
##7F4BC91.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CD
Deuteranopia (green-blind)
#1067C6
Tritanopia (blue-blind)
#6E6783
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7f4bc9;
/* rgb */ color: rgb(127, 75, 201);
/* oklch */ color: oklch(53.7% 0.188 298.9);
Tailwind
colors: {
  custom: {
    50: '#a980da',
    500: '#7f4bc9',
    950: '#000000',
  },
}
SCSS
$custom: #7f4bc9;
$custom-light: #a980da;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4bc9",
  "rgb": {
    "r": 127,
    "g": 75,
    "b": 201
  },
  "hsl": {
    "h": 264.762,
    "s": 53.846,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53695,
    "c": 0.18751,
    "h": 298.9
  },
  "luminance": 0.13761
}

Semantic roles & 50–950 ramp

primary
#7F4BC9
secondary
#BDD39D
accent
#DD4BA1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F4BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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