#7F58F0#7F58F0

#7F58F0 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.4% C 0.217 H 289.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7F58F0
RGBrgb(127, 88, 240)
HSLhsl(255, 84%, 64%)
HSVhsv(255, 63%, 94%)
CMYKcmyk(47.1%, 63.3%, 0%, 5.9%)
CIE-LABlab(49.23, 51.39, -71.24)
CIE-LCHlch(49.23, 87.84, 305.81°)
OKLaboklab(58.44% 0.0734 -0.2039)
OKLCHoklch(58.44% 0.217 289.8)
XYZxyz(27.9658, 17.7816, 84.3799)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F58F0 #C9F058
analogous
#587DF0 #7F58F0 #CB58F0
triadic
#7F58F0 #F07F58 #58F07F
tetradic
#7F58F0 #F0587D #C9F058 #58F0CB
square
#7F58F0 #F0587D #C9F058 #58F0CB
split-complementary
#7F58F0 #F0CB58 #7DF058
monochromatic
#3D11BD #5420EB #7F58F0 #AA90F5 #D5C8FA

Accessibility & contrast

On white

4.61
#7F58F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#7F58F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F58F0
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F58F0#FFFFFF#000000##FFFFFF
##7F58F01.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F5
Deuteranopia (green-blind)
#0071ED
Tritanopia (blue-blind)
#5A7C9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7f58f0;
/* rgb */ color: rgb(127, 88, 240);
/* oklch */ color: oklch(58.4% 0.217 289.8);
Tailwind
colors: {
  custom: {
    50: '#ac89f6',
    500: '#7f58f0',
    950: '#000000',
  },
}
SCSS
$custom: #7f58f0;
$custom-light: #ac89f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f58f0",
  "rgb": {
    "r": 127,
    "g": 88,
    "b": 240
  },
  "hsl": {
    "h": 255.395,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58435,
    "c": 0.21676,
    "h": 289.8
  },
  "luminance": 0.17783
}

Semantic roles & 50–950 ramp

primary
#7F58F0
secondary
#DFECB8
accent
#E006A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F58F0

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

Preview Lab → · Contrast checker → · Palette generator →

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