#7B58DB#7B58DB

#7B58DB is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.5% C 0.191 H 291.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7B58DB
RGBrgb(123, 88, 219)
HSLhsl(256, 65%, 60%)
HSVhsv(256, 60%, 86%)
CMYKcmyk(43.8%, 59.8%, 0%, 14.1%)
CIE-LABlab(47.37, 44.80, -62.41)
CIE-LCHlch(47.37, 76.83, 305.67°)
OKLaboklab(56.53% 0.0697 -0.1781)
OKLCHoklch(56.53% 0.191 291.4)
XYZxyz(24.4407, 16.3041, 68.8633)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B58DB #B8DB58
analogous
#5876DB #7B58DB #BD58DB
triadic
#7B58DB #DB7B58 #58DB7B
tetradic
#7B58DB #DB5876 #B8DB58 #58DBBD
square
#7B58DB #DB5876 #B8DB58 #58DBBD
split-complementary
#7B58DB #DBBD58 #76DB58
monochromatic
#412198 #562CCA #7B58DB #A38AE6 #CBBDF1

Accessibility & contrast

On white

4.93
#7B58DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7B58DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B58DB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B58DB#FFFFFF#000000##FFFFFF
##7B58DB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#5F7691
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b58db;
/* rgb */ color: rgb(123, 88, 219);
/* oklch */ color: oklch(56.5% 0.191 291.4);
Tailwind
colors: {
  custom: {
    50: '#a788e7',
    500: '#7b58db',
    950: '#000000',
  },
}
SCSS
$custom: #7b58db;
$custom-light: #a788e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b58db",
  "rgb": {
    "r": 123,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 256.031,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56525,
    "c": 0.19126,
    "h": 291.4
  },
  "luminance": 0.16305
}

Semantic roles & 50–950 ramp

primary
#7B58DB
secondary
#D3E1AE
accent
#CC199C
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B58DB

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

Preview Lab → · Contrast checker → · Palette generator →

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