#7F4BCF#7F4BCF

#7F4BCF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.195 H 297.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7F4BCF
RGBrgb(127, 75, 207)
HSLhsl(264, 58%, 55%)
HSVhsv(264, 64%, 81%)
CMYKcmyk(38.6%, 63.8%, 0%, 18.8%)
CIE-LABlab(44.30, 49.51, -60.49)
CIE-LCHlch(44.30, 78.17, 309.30°)
OKLaboklab(54.13% 0.0902 -0.1723)
OKLCHoklch(54.13% 0.195 297.6)
XYZxyz(22.5281, 14.0488, 60.5442)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4BCF #9BCF4B
analogous
#4B59CF #7F4BCF #C14BCF
triadic
#7F4BCF #CF7F4B #4BCF7F
tetradic
#7F4BCF #CF4B59 #9BCF4B #4BCFC1
square
#7F4BCF #CF4B59 #9BCF4B #4BCFC1
split-complementary
#7F4BCF #CFC14B #59CF4B
monochromatic
#46227E #612EAE #7F4BCF #A17BDC #C4ACE9

Accessibility & contrast

On white

5.51
#7F4BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7F4BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4BCF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4BCF#FFFFFF#000000##FFFFFF
##7F4BCF1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#6C6986
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7f4bcf;
/* rgb */ color: rgb(127, 75, 207);
/* oklch */ color: oklch(54.1% 0.195 297.6);
Tailwind
colors: {
  custom: {
    50: '#aa80de',
    500: '#7f4bcf',
    950: '#000000',
  },
}
SCSS
$custom: #7f4bcf;
$custom-light: #aa80de;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4bcf",
  "rgb": {
    "r": 127,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 263.636,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54127,
    "c": 0.19451,
    "h": 297.6
  },
  "luminance": 0.14049
}

Semantic roles & 50–950 ramp

primary
#7F4BCF
secondary
#C1D69F
accent
#E147A4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F4BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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