#7B58DF#7B58DF

#7B58DF is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.8% C 0.196 H 290.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7B58DF
RGBrgb(123, 88, 223)
HSLhsl(256, 68%, 61%)
HSVhsv(256, 61%, 87%)
CMYKcmyk(44.8%, 60.5%, 0%, 12.5%)
CIE-LABlab(47.65, 45.91, -64.24)
CIE-LCHlch(47.65, 78.96, 305.55°)
OKLaboklab(56.81% 0.0695 -0.1835)
OKLCHoklch(56.81% 0.196 290.7)
XYZxyz(24.9737, 16.5172, 71.6700)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B58DF #BCDF58
analogous
#5878DF #7B58DF #BF58DF
triadic
#7B58DF #DF7B58 #58DF7B
tetradic
#7B58DF #DF5878 #BCDF58 #58DFBF
square
#7B58DF #DF5878 #BCDF58 #58DFBF
split-complementary
#7B58DF #DFBF58 #78DF58
monochromatic
#3F1E9E #5428D2 #7B58DF #A48BE9 #CCBFF3

Accessibility & contrast

On white

4.88
#7B58DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7B58DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B58DF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B58DF#FFFFFF#000000##FFFFFF
##7B58DF1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b58df;
/* rgb */ color: rgb(123, 88, 223);
/* oklch */ color: oklch(56.8% 0.196 290.7);
Tailwind
colors: {
  custom: {
    50: '#a889ea',
    500: '#7b58df',
    950: '#000000',
  },
}
SCSS
$custom: #7b58df;
$custom-light: #a889ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7b58df",
  "rgb": {
    "r": 123,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 255.556,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56813,
    "c": 0.19621,
    "h": 290.7
  },
  "luminance": 0.16518
}

Semantic roles & 50–950 ramp

primary
#7B58DF
secondary
#D6E3B0
accent
#D016A0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B58DF

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

Preview Lab → · Contrast checker → · Palette generator →

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