#7B58FD#7B58FD

#7B58FD is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.1% C 0.232 H 286.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7B58FD
RGBrgb(123, 88, 253)
HSLhsl(253, 98%, 67%)
HSVhsv(253, 65%, 99%)
CMYKcmyk(51.4%, 65.2%, 0%, 0.8%)
CIE-LABlab(49.83, 54.31, -77.53)
CIE-LCHlch(49.83, 94.66, 305.01°)
OKLaboklab(59.09% 0.0668 -0.2225)
OKLCHoklch(59.09% 0.232 286.7)
XYZxyz(29.3825, 18.2808, 94.8898)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B58FD #DAFD58
analogous
#5888FD #7B58FD #CD58FD
triadic
#7B58FD #FD7B58 #58FD7B
tetradic
#7B58FD #FD5888 #DAFD58 #58FDCD
square
#7B58FD #FD5888 #DAFD58 #58FDCD
split-complementary
#7B58FD #FDCD58 #88FD58
monochromatic
#3003D8 #4B1CFC #7B58FD #AB94FE #DBD1FE

Accessibility & contrast

On white

4.51
#7B58FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7B58FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B58FD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B58FD#FFFFFF#000000##000000
##7B58FD1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0072FA
Tritanopia (blue-blind)
#4881A3
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b58fd;
/* rgb */ color: rgb(123, 88, 253);
/* oklch */ color: oklch(59.1% 0.232 286.7);
Tailwind
colors: {
  custom: {
    50: '#ac89ff',
    500: '#7b58fd',
    950: '#000000',
  },
}
SCSS
$custom: #7b58fd;
$custom-light: #ac89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7b58fd",
  "rgb": {
    "r": 123,
    "g": 88,
    "b": 253
  },
  "hsl": {
    "h": 252.727,
    "s": 97.633,
    "l": 66.863
  },
  "oklch": {
    "l": 0.59088,
    "c": 0.23235,
    "h": 286.7
  },
  "luminance": 0.18282
}

Semantic roles & 50–950 ramp

primary
#7B58FD
secondary
#E8F3BE
accent
#E600B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7B58FD

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

Preview Lab → · Contrast checker → · Palette generator →

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