#7F58DD#7F58DD

#7F58DD is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.0% C 0.194 H 292.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7F58DD
RGBrgb(127, 88, 221)
HSLhsl(258, 66%, 61%)
HSVhsv(258, 60%, 87%)
CMYKcmyk(42.5%, 60.2%, 0%, 13.3%)
CIE-LABlab(47.89, 46.19, -62.69)
CIE-LCHlch(47.89, 77.86, 306.38°)
OKLaboklab(57.04% 0.0748 -0.1788)
OKLCHoklch(57.04% 0.194 292.7)
XYZxyz(25.2897, 16.7112, 70.2857)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F58DD #B6DD58
analogous
#5873DD #7F58DD #C158DD
triadic
#7F58DD #DD7F58 #58DD7F
tetradic
#7F58DD #DD5873 #B6DD58 #58DDC1
square
#7F58DD #DD5873 #B6DD58 #58DDC1
split-complementary
#7F58DD #DDC158 #73DD58
monochromatic
#44209B #5A2ACE #7F58DD #A68BE7 #CDBEF2

Accessibility & contrast

On white

4.84
#7F58DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7F58DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F58DD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F58DD#FFFFFF#000000##FFFFFF
##7F58DD1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#657692
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7f58dd;
/* rgb */ color: rgb(127, 88, 221);
/* oklch */ color: oklch(57.0% 0.194 292.7);
Tailwind
colors: {
  custom: {
    50: '#aa89e8',
    500: '#7f58dd',
    950: '#000000',
  },
}
SCSS
$custom: #7f58dd;
$custom-light: #aa89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f58dd",
  "rgb": {
    "r": 127,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 257.594,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57042,
    "c": 0.19382,
    "h": 292.7
  },
  "luminance": 0.16712
}

Semantic roles & 50–950 ramp

primary
#7F58DD
secondary
#D3E2AF
accent
#CE1798
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7F58DD

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

Preview Lab → · Contrast checker → · Palette generator →

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