#7F58F7#7F58F7

#7F58F7 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.0% C 0.225 H 288.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7F58F7
RGBrgb(127, 88, 247)
HSLhsl(255, 91%, 66%)
HSVhsv(255, 64%, 97%)
CMYKcmyk(48.6%, 64.4%, 0%, 3.1%)
CIE-LABlab(49.74, 53.33, -74.32)
CIE-LCHlch(49.74, 91.47, 305.66°)
OKLaboklab(58.97% 0.0727 -0.213)
OKLCHoklch(58.97% 0.225 288.8)
XYZxyz(29.0258, 18.2056, 89.9623)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F58F7 #D0F758
analogous
#5880F7 #7F58F7 #CE58F7
triadic
#7F58F7 #F77F58 #58F77F
tetradic
#7F58F7 #F75880 #D0F758 #58F7CE
square
#7F58F7 #F75880 #D0F758 #58F7CE
split-complementary
#7F58F7 #F7CE58 #80F758
monochromatic
#390ACB #521EF4 #7F58F7 #AC92FA #D9CDFD

Accessibility & contrast

On white

4.52
#7F58F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7F58F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F58F7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F58F7#FFFFFF#000000##000000
##7F58F71.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFC
Deuteranopia (green-blind)
#0072F4
Tritanopia (blue-blind)
#567FA0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7f58f7;
/* rgb */ color: rgb(127, 88, 247);
/* oklch */ color: oklch(59.0% 0.225 288.8);
Tailwind
colors: {
  custom: {
    50: '#ad89fb',
    500: '#7f58f7',
    950: '#000000',
  },
}
SCSS
$custom: #7f58f7;
$custom-light: #ad89fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f58f7",
  "rgb": {
    "r": 127,
    "g": 88,
    "b": 247
  },
  "hsl": {
    "h": 254.717,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58968,
    "c": 0.22506,
    "h": 288.8
  },
  "luminance": 0.18207
}

Semantic roles & 50–950 ramp

primary
#7F58F7
secondary
#E3F0BB
accent
#E600AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7F58F7

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

Preview Lab → · Contrast checker → · Palette generator →

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