#7F58DF#7F58DF

#7F58DF is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.2% C 0.196 H 292.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7F58DF
RGBrgb(127, 88, 223)
HSLhsl(257, 68%, 61%)
HSVhsv(257, 61%, 87%)
CMYKcmyk(43%, 60.5%, 0%, 12.5%)
CIE-LABlab(48.03, 46.73, -63.60)
CIE-LCHlch(48.03, 78.92, 306.31°)
OKLaboklab(57.18% 0.0747 -0.1815)
OKLCHoklch(57.18% 0.196 292.4)
XYZxyz(25.5578, 16.8184, 71.6974)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F58DF #B8DF58
analogous
#5874DF #7F58DF #C258DF
triadic
#7F58DF #DF7F58 #58DF7F
tetradic
#7F58DF #DF5874 #B8DF58 #58DFC2
square
#7F58DF #DF5874 #B8DF58 #58DFC2
split-complementary
#7F58DF #DFC258 #74DF58
monochromatic
#431E9E #5928D2 #7F58DF #A68BE9 #CEBFF3

Accessibility & contrast

On white

4.81
#7F58DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7F58DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F58DF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F58DF#FFFFFF#000000##FFFFFF
##7F58DF1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#647793
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7f58df;
/* rgb */ color: rgb(127, 88, 223);
/* oklch */ color: oklch(57.2% 0.196 292.4);
Tailwind
colors: {
  custom: {
    50: '#aa89ea',
    500: '#7f58df',
    950: '#000000',
  },
}
SCSS
$custom: #7f58df;
$custom-light: #aa89ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7f58df",
  "rgb": {
    "r": 127,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 257.333,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57184,
    "c": 0.19626,
    "h": 292.4
  },
  "luminance": 0.16819
}

Semantic roles & 50–950 ramp

primary
#7F58DF
secondary
#D4E3B0
accent
#D0169A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7F58DF

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

Preview Lab → · Contrast checker → · Palette generator →

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