#7B58EA#7B58EA

#7B58EA is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.6% C 0.210 H 289.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7B58EA
RGBrgb(123, 88, 234)
HSLhsl(254, 78%, 63%)
HSVhsv(254, 62%, 92%)
CMYKcmyk(47.4%, 62.4%, 0%, 8.2%)
CIE-LABlab(48.42, 48.98, -69.20)
CIE-LCHlch(48.42, 84.78, 305.29°)
OKLaboklab(57.62% 0.0687 -0.1981)
OKLCHoklch(57.62% 0.21 289.1)
XYZxyz(26.5051, 17.1298, 79.7358)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B58EA #C7EA58
analogous
#587EEA #7B58EA #C458EA
triadic
#7B58EA #EA7B58 #58EA7B
tetradic
#7B58EA #EA587E #C7EA58 #58EAC4
square
#7B58EA #EA587E #C7EA58 #58EAC4
split-complementary
#7B58EA #EAC458 #7EEA58
monochromatic
#3B16B1 #5022E3 #7B58EA #A68EF1 #D1C5F8

Accessibility & contrast

On white

4.74
#7B58EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7B58EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B58EA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B58EA#FFFFFF#000000##FFFFFF
##7B58EA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#567B99
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b58ea;
/* rgb */ color: rgb(123, 88, 234);
/* oklch */ color: oklch(57.6% 0.210 289.1);
Tailwind
colors: {
  custom: {
    50: '#a989f2',
    500: '#7b58ea',
    950: '#000000',
  },
}
SCSS
$custom: #7b58ea;
$custom-light: #a989f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b58ea",
  "rgb": {
    "r": 123,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 254.384,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57624,
    "c": 0.20965,
    "h": 289.1
  },
  "luminance": 0.17131
}

Semantic roles & 50–950 ramp

primary
#7B58EA
secondary
#DDE9B5
accent
#DA0CA8
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B58EA

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

Preview Lab → · Contrast checker → · Palette generator →

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