#7F58BF#7F58BF

#7F58BF is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.0% C 0.156 H 298.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7F58BF
RGBrgb(127, 88, 191)
HSLhsl(263, 45%, 55%)
HSVhsv(263, 54%, 75%)
CMYKcmyk(33.5%, 53.9%, 0%, 25.1%)
CIE-LABlab(45.98, 38.18, -48.55)
CIE-LCHlch(45.98, 61.76, 308.18°)
OKLaboklab(55.02% 0.0749 -0.1372)
OKLCHoklch(55.02% 0.156 298.6)
XYZxyz(21.6438, 15.2528, 51.0839)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F58BF #98BF58
analogous
#5865BF #7F58BF #B258BF
triadic
#7F58BF #BF7F58 #58BF7F
tetradic
#7F58BF #BF5865 #98BF58 #58BFB2
square
#7F58BF #BF5865 #98BF58 #58BFB2
split-complementary
#7F58BF #BFB258 #65BF58
monochromatic
#462B71 #613C9D #7F58BF #A184D0 #C3B0E1

Accessibility & contrast

On white

5.18
#7F58BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7F58BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F58BF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F58BF#FFFFFF#000000##FFFFFF
##7F58BF1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6DC2
Deuteranopia (green-blind)
#3B6CBD
Tritanopia (blue-blind)
#716C83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7f58bf;
/* rgb */ color: rgb(127, 88, 191);
/* oklch */ color: oklch(55.0% 0.156 298.6);
Tailwind
colors: {
  custom: {
    50: '#a788d3',
    500: '#7f58bf',
    950: '#000000',
  },
}
SCSS
$custom: #7f58bf;
$custom-light: #a788d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f58bf",
  "rgb": {
    "r": 127,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 262.718,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55022,
    "c": 0.15635,
    "h": 298.6
  },
  "luminance": 0.15253
}

Semantic roles & 50–950 ramp

primary
#7F58BF
secondary
#BFCFA4
accent
#D454A4
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7F58BF

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

Preview Lab → · Contrast checker → · Palette generator →

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