#7B5CE9#7B5CE9

#7B5CE9 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.2% C 0.203 H 288.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7B5CE9
RGBrgb(123, 92, 233)
HSLhsl(253, 76%, 64%)
HSVhsv(253, 61%, 91%)
CMYKcmyk(47.2%, 60.5%, 0%, 8.6%)
CIE-LABlab(49.19, 46.48, -67.39)
CIE-LCHlch(49.19, 81.86, 304.59°)
OKLaboklab(58.16% 0.0647 -0.1927)
OKLCHoklch(58.16% 0.203 288.6)
XYZxyz(26.6993, 17.7473, 79.0938)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5CE9 #CAE95C
analogous
#5C83E9 #7B5CE9 #C15CE9
triadic
#7B5CE9 #E97B5C #5CE97B
tetradic
#7B5CE9 #E95C83 #CAE95C #5CE9C1
square
#7B5CE9 #E95C83 #CAE95C #5CE9C1
split-complementary
#7B5CE9 #E9C15C #83E95C
monochromatic
#3A18B3 #4F26E2 #7B5CE9 #A792F0 #D2C8F8

Accessibility & contrast

On white

4.62
#7B5CE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7B5CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5CE9
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5CE9#FFFFFF#000000##FFFFFF
##7B5CE91.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#0071E6
Tritanopia (blue-blind)
#577D9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b5ce9;
/* rgb */ color: rgb(123, 92, 233);
/* oklch */ color: oklch(58.2% 0.203 288.6);
Tailwind
colors: {
  custom: {
    50: '#a98bf1',
    500: '#7b5ce9',
    950: '#000000',
  },
}
SCSS
$custom: #7b5ce9;
$custom-light: #a98bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5ce9",
  "rgb": {
    "r": 123,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 253.191,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58159,
    "c": 0.20332,
    "h": 288.6
  },
  "luminance": 0.17748
}

Semantic roles & 50–950 ramp

primary
#7B5CE9
secondary
#DEE9B8
accent
#D80DAC
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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