#7B5CF4#7B5CF4

#7B5CF4 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.0% C 0.217 H 287.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7B5CF4
RGBrgb(123, 92, 244)
HSLhsl(252, 87%, 66%)
HSVhsv(252, 62%, 96%)
CMYKcmyk(49.6%, 62.3%, 0%, 4.3%)
CIE-LABlab(49.97, 49.59, -72.29)
CIE-LCHlch(49.97, 87.66, 304.45°)
OKLaboklab(58.98% 0.0639 -0.2071)
OKLCHoklch(58.98% 0.217 287.1)
XYZxyz(28.3199, 18.3956, 87.6289)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5CF4 #D5F45C
analogous
#5C89F4 #7B5CF4 #C75CF4
triadic
#7B5CF4 #F47B5C #5CF47B
tetradic
#7B5CF4 #F45C89 #D5F45C #5CF4C7
square
#7B5CF4 #F45C89 #D5F45C #5CF4C7
split-complementary
#7B5CF4 #F4C75C #89F45C
monochromatic
#340EC8 #4D23F0 #7B5CF4 #A995F8 #D8CFFC

Accessibility & contrast

On white

4.49
#7B5CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7B5CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5CF4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5CF4#FFFFFF#000000##000000
##7B5CF41.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b5cf4;
/* rgb */ color: rgb(123, 92, 244);
/* oklch */ color: oklch(59.0% 0.217 287.1);
Tailwind
colors: {
  custom: {
    50: '#aa8cf9',
    500: '#7b5cf4',
    950: '#000000',
  },
}
SCSS
$custom: #7b5cf4;
$custom-light: #aa8cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5cf4",
  "rgb": {
    "r": 123,
    "g": 92,
    "b": 244
  },
  "hsl": {
    "h": 252.237,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58977,
    "c": 0.21679,
    "h": 287.1
  },
  "luminance": 0.18397
}

Semantic roles & 50–950 ramp

primary
#7B5CF4
secondary
#E5EFBD
accent
#E402B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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