#7B5DF4#7B5DF4

#7B5DF4 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.1% C 0.216 H 287.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7B5DF4
RGBrgb(123, 93, 244)
HSLhsl(252, 87%, 66%)
HSVhsv(252, 62%, 96%)
CMYKcmyk(49.6%, 61.9%, 0%, 4.3%)
CIE-LABlab(50.18, 49.04, -71.95)
CIE-LCHlch(50.18, 87.07, 304.28°)
OKLaboklab(59.13% 0.0629 -0.2061)
OKLCHoklch(59.13% 0.216 287)
XYZxyz(28.4071, 18.5700, 87.6580)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5DF4 #D6F45D
analogous
#5D8AF4 #7B5DF4 #C75DF4
triadic
#7B5DF4 #F47B5D #5DF47B
tetradic
#7B5DF4 #F45D8A #D6F45D #5DF4C7
square
#7B5DF4 #F45D8A #D6F45D #5DF4C7
split-complementary
#7B5DF4 #F4C75D #8AF45D
monochromatic
#330EC9 #4C24F0 #7B5DF4 #AA96F8 #D8D0FC

Accessibility & contrast

On white

4.45
#7B5DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#7B5DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5DF4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5DF4#FFFFFF#000000##000000
##7B5DF41.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF9
Deuteranopia (green-blind)
#0073F1
Tritanopia (blue-blind)
#4F81A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b5df4;
/* rgb */ color: rgb(123, 93, 244);
/* oklch */ color: oklch(59.1% 0.216 287.0);
Tailwind
colors: {
  custom: {
    50: '#aa8cf9',
    500: '#7b5df4',
    950: '#000000',
  },
}
SCSS
$custom: #7b5df4;
$custom-light: #aa8cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5df4",
  "rgb": {
    "r": 123,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 251.921,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59129,
    "c": 0.21554,
    "h": 287
  },
  "luminance": 0.18571
}

Semantic roles & 50–950 ramp

primary
#7B5DF4
secondary
#E5EFBE
accent
#E402B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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