#7F58FB#7F58FB

#7F58FB is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.3% C 0.230 H 288.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7F58FB
RGBrgb(127, 88, 251)
HSLhsl(254, 95%, 66%)
HSVhsv(254, 65%, 98%)
CMYKcmyk(49.4%, 64.9%, 0%, 1.6%)
CIE-LABlab(50.04, 54.43, -76.06)
CIE-LCHlch(50.04, 93.53, 305.59°)
OKLaboklab(59.28% 0.0722 -0.2181)
OKLCHoklch(59.28% 0.23 288.3)
XYZxyz(29.6496, 18.4552, 93.2480)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F58FB #D4FB58
analogous
#5883FB #7F58FB #D158FB
triadic
#7F58FB #FB7F58 #58FB7F
tetradic
#7F58FB #FB5883 #D4FB58 #58FBD1
square
#7F58FB #FB5883 #D4FB58 #58FBD1
split-complementary
#7F58FB #FBD158 #83FB58
monochromatic
#3605D4 #511CFA #7F58FB #AD94FC #DBD0FE

Accessibility & contrast

On white

4.48
#7F58FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7F58FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F58FB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F58FB#FFFFFF#000000##000000
##7F58FB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0073F8
Tritanopia (blue-blind)
#5380A2
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7f58fb;
/* rgb */ color: rgb(127, 88, 251);
/* oklch */ color: oklch(59.3% 0.230 288.3);
Tailwind
colors: {
  custom: {
    50: '#ae89fe',
    500: '#7f58fb',
    950: '#000000',
  },
}
SCSS
$custom: #7f58fb;
$custom-light: #ae89fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7f58fb",
  "rgb": {
    "r": 127,
    "g": 88,
    "b": 251
  },
  "hsl": {
    "h": 254.356,
    "s": 95.322,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59278,
    "c": 0.22976,
    "h": 288.3
  },
  "luminance": 0.18457
}

Semantic roles & 50–950 ramp

primary
#7F58FB
secondary
#E5F2BD
accent
#E600AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7F58FB

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

Preview Lab → · Contrast checker → · Palette generator →

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