#7F5BBF#7F5BBF

#7F5BBF is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.5% C 0.152 H 297.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7F5BBF
RGBrgb(127, 91, 191)
HSLhsl(262, 44%, 55%)
HSVhsv(262, 52%, 75%)
CMYKcmyk(33.5%, 52.4%, 0%, 25.1%)
CIE-LABlab(46.65, 36.45, -47.47)
CIE-LCHlch(46.65, 59.85, 307.52°)
OKLaboklab(55.52% 0.071 -0.1341)
OKLCHoklch(55.52% 0.152 297.9)
XYZxyz(21.8951, 15.7555, 51.1677)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5BBF #9BBF5B
analogous
#5B69BF #7F5BBF #B15BBF
triadic
#7F5BBF #BF7F5B #5BBF7F
tetradic
#7F5BBF #BF5B69 #9BBF5B #5BBFB1
square
#7F5BBF #BF5B69 #9BBF5B #5BBFB1
split-complementary
#7F5BBF #BFB15B #69BF5B
monochromatic
#462D73 #613E9F #7F5BBF #A187D0 #C4B3E1

Accessibility & contrast

On white

5.06
#7F5BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7F5BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5BBF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5BBF#FFFFFF#000000##FFFFFF
##7F5BBF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356FC2
Deuteranopia (green-blind)
#3F6EBD
Tritanopia (blue-blind)
#716F84
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7f5bbf;
/* rgb */ color: rgb(127, 91, 191);
/* oklch */ color: oklch(55.5% 0.152 297.9);
Tailwind
colors: {
  custom: {
    50: '#a78ad3',
    500: '#7f5bbf',
    950: '#000000',
  },
}
SCSS
$custom: #7f5bbf;
$custom-light: #a78ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5bbf",
  "rgb": {
    "r": 127,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 261.6,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55521,
    "c": 0.15172,
    "h": 297.9
  },
  "luminance": 0.15756
}

Semantic roles & 50–950 ramp

primary
#7F5BBF
secondary
#C1D0A6
accent
#D454A6
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7F5BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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