#7B58FC#7B58FC

#7B58FC is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.0% C 0.231 H 286.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7B58FC
RGBrgb(123, 88, 252)
HSLhsl(253, 96%, 67%)
HSVhsv(253, 65%, 99%)
CMYKcmyk(51.2%, 65.1%, 0%, 1.2%)
CIE-LABlab(49.76, 54.03, -77.10)
CIE-LCHlch(49.76, 94.14, 305.02°)
OKLaboklab(59.01% 0.0669 -0.2213)
OKLCHoklch(59.01% 0.231 286.8)
XYZxyz(29.2236, 18.2172, 94.0530)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B58FC #D9FC58
analogous
#5887FC #7B58FC #CD58FC
triadic
#7B58FC #FC7B58 #58FC7B
tetradic
#7B58FC #FC5887 #D9FC58 #58FCCD
square
#7B58FC #FC5887 #D9FC58 #58FCCD
split-complementary
#7B58FC #FCCD58 #87FC58
monochromatic
#3104D6 #4B1CFB #7B58FC #AB94FD #DAD0FE

Accessibility & contrast

On white

4.52
#7B58FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7B58FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B58FC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B58FC#FFFFFF#000000##000000
##7B58FC1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0072F9
Tritanopia (blue-blind)
#4981A3
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b58fc;
/* rgb */ color: rgb(123, 88, 252);
/* oklch */ color: oklch(59.0% 0.231 286.8);
Tailwind
colors: {
  custom: {
    50: '#ab89fe',
    500: '#7b58fc',
    950: '#000000',
  },
}
SCSS
$custom: #7b58fc;
$custom-light: #ab89fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7b58fc",
  "rgb": {
    "r": 123,
    "g": 88,
    "b": 252
  },
  "hsl": {
    "h": 252.805,
    "s": 96.471,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59009,
    "c": 0.23117,
    "h": 286.8
  },
  "luminance": 0.18219
}

Semantic roles & 50–950 ramp

primary
#7B58FC
secondary
#E7F2BD
accent
#E600B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7B58FC

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

Preview Lab → · Contrast checker → · Palette generator →

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