#7B58DE#7B58DE

#7B58DE is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.7% C 0.195 H 290.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7B58DE
RGBrgb(123, 88, 222)
HSLhsl(256, 67%, 61%)
HSVhsv(256, 60%, 87%)
CMYKcmyk(44.6%, 60.4%, 0%, 12.9%)
CIE-LABlab(47.58, 45.63, -63.79)
CIE-LCHlch(47.58, 78.43, 305.58°)
OKLaboklab(56.74% 0.0696 -0.1821)
OKLCHoklch(56.74% 0.195 290.9)
XYZxyz(24.8392, 16.4635, 70.9621)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B58DE #BBDE58
analogous
#5878DE #7B58DE #BE58DE
triadic
#7B58DE #DE7B58 #58DE7B
tetradic
#7B58DE #DE5878 #BBDE58 #58DEBE
square
#7B58DE #DE5878 #BBDE58 #58DEBE
split-complementary
#7B58DE #DEBE58 #78DE58
monochromatic
#401F9D #5529D0 #7B58DE #A38BE8 #CCBEF2

Accessibility & contrast

On white

4.89
#7B58DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7B58DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B58DE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B58DE#FFFFFF#000000##FFFFFF
##7B58DE1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#006EDB
Tritanopia (blue-blind)
#5D7793
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b58de;
/* rgb */ color: rgb(123, 88, 222);
/* oklch */ color: oklch(56.7% 0.195 290.9);
Tailwind
colors: {
  custom: {
    50: '#a889e9',
    500: '#7b58de',
    950: '#000000',
  },
}
SCSS
$custom: #7b58de;
$custom-light: #a889e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b58de",
  "rgb": {
    "r": 123,
    "g": 88,
    "b": 222
  },
  "hsl": {
    "h": 255.672,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5674,
    "c": 0.19498,
    "h": 290.9
  },
  "luminance": 0.16464
}

Semantic roles & 50–950 ramp

primary
#7B58DE
secondary
#D5E2B0
accent
#CF179F
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B58DE

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

Preview Lab → · Contrast checker → · Palette generator →

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