#7B5CF5#7B5CF5

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

Color values

HEX#7B5CF5
RGBrgb(123, 92, 245)
HSLhsl(252, 88%, 66%)
HSVhsv(252, 62%, 96%)
CMYKcmyk(49.8%, 62.4%, 0%, 3.9%)
CIE-LABlab(50.05, 49.87, -72.73)
CIE-LCHlch(50.05, 88.19, 304.44°)
OKLaboklab(59.05% 0.0638 -0.2084)
OKLCHoklch(59.05% 0.218 287)
XYZxyz(28.4721, 18.4565, 88.4307)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5CF5 #D6F55C
analogous
#5C89F5 #7B5CF5 #C75CF5
triadic
#7B5CF5 #F57B5C #5CF57B
tetradic
#7B5CF5 #F55C89 #D6F55C #5CF5C7
square
#7B5CF5 #F55C89 #D6F55C #5CF5C7
split-complementary
#7B5CF5 #F5C75C #89F55C
monochromatic
#330CCA #4C22F1 #7B5CF5 #AA96F9 #D8CFFC

Accessibility & contrast

On white

4.48
#7B5CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7B5CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5CF5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5CF5#FFFFFF#000000##000000
##7B5CF51.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b5cf5;
/* rgb */ color: rgb(123, 92, 245);
/* oklch */ color: oklch(59.1% 0.218 287.0);
Tailwind
colors: {
  custom: {
    50: '#aa8cf9',
    500: '#7b5cf5',
    950: '#000000',
  },
}
SCSS
$custom: #7b5cf5;
$custom-light: #aa8cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5cf5",
  "rgb": {
    "r": 123,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 252.157,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59053,
    "c": 0.218,
    "h": 287
  },
  "luminance": 0.18458
}

Semantic roles & 50–950 ramp

primary
#7B5CF5
secondary
#E5F0BD
accent
#E500B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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