#7B58FA#7B58FA

#7B58FA is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.9% C 0.229 H 287.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7B58FA
RGBrgb(123, 88, 250)
HSLhsl(253, 94%, 66%)
HSVhsv(253, 65%, 98%)
CMYKcmyk(50.8%, 64.8%, 0%, 2%)
CIE-LABlab(49.61, 53.47, -76.23)
CIE-LCHlch(49.61, 93.11, 305.04°)
OKLaboklab(58.85% 0.0671 -0.2187)
OKLCHoklch(58.85% 0.229 287.1)
XYZxyz(28.9083, 18.0911, 92.3926)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B58FA #D7FA58
analogous
#5886FA #7B58FA #CC58FA
triadic
#7B58FA #FA7B58 #58FA7B
tetradic
#7B58FA #FA5886 #D7FA58 #58FACC
square
#7B58FA #FA5886 #D7FA58 #58FACC
split-complementary
#7B58FA #FACC58 #86FA58
monochromatic
#3206D1 #4C1DF8 #7B58FA #AA93FC #D9CFFE

Accessibility & contrast

On white

4.55
#7B58FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7B58FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B58FA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B58FA#FFFFFF#000000##000000
##7B58FA1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0071F7
Tritanopia (blue-blind)
#4B80A2
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b58fa;
/* rgb */ color: rgb(123, 88, 250);
/* oklch */ color: oklch(58.9% 0.229 287.1);
Tailwind
colors: {
  custom: {
    50: '#ab89fd',
    500: '#7b58fa',
    950: '#000000',
  },
}
SCSS
$custom: #7b58fa;
$custom-light: #ab89fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b58fa",
  "rgb": {
    "r": 123,
    "g": 88,
    "b": 250
  },
  "hsl": {
    "h": 252.963,
    "s": 94.186,
    "l": 66.275
  },
  "oklch": {
    "l": 0.58852,
    "c": 0.22881,
    "h": 287.1
  },
  "luminance": 0.18093
}

Semantic roles & 50–950 ramp

primary
#7B58FA
secondary
#E6F1BC
accent
#E600B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7B58FA

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

Preview Lab → · Contrast checker → · Palette generator →

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