#7F4FCF#7F4FCF

#7F4FCF is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.7% C 0.189 H 297.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7F4FCF
RGBrgb(127, 79, 207)
HSLhsl(263, 57%, 56%)
HSVhsv(263, 62%, 81%)
CMYKcmyk(38.6%, 61.8%, 0%, 18.8%)
CIE-LABlab(45.09, 47.37, -59.21)
CIE-LCHlch(45.09, 75.83, 308.66°)
OKLaboklab(54.7% 0.0857 -0.1686)
OKLCHoklch(54.7% 0.189 297)
XYZxyz(22.8080, 14.6086, 60.6375)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FCF #9FCF4F
analogous
#4F5FCF #7F4FCF #BF4FCF
triadic
#7F4FCF #CF7F4F #4FCF7F
tetradic
#7F4FCF #CF4F5F #9FCF4F #4FCFBF
square
#7F4FCF #CF4F5F #9FCF4F #4FCFBF
split-complementary
#7F4FCF #CFBF4F #5FCF4F
monochromatic
#462381 #6030B1 #7F4FCF #A27FDC #C5AFE9

Accessibility & contrast

On white

5.35
#7F4FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7F4FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FCF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FCF#FFFFFF#000000##FFFFFF
##7F4FCF1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0A69CC
Tritanopia (blue-blind)
#6C6B88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7f4fcf;
/* rgb */ color: rgb(127, 79, 207);
/* oklch */ color: oklch(54.7% 0.189 297.0);
Tailwind
colors: {
  custom: {
    50: '#a983de',
    500: '#7f4fcf',
    950: '#000000',
  },
}
SCSS
$custom: #7f4fcf;
$custom-light: #a983de;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4fcf",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 262.5,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.547,
    "c": 0.18912,
    "h": 297
  },
  "luminance": 0.14609
}

Semantic roles & 50–950 ramp

primary
#7F4FCF
secondary
#C4D7A2
accent
#E047A7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7F4FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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