#7B5CE8#7B5CE8

#7B5CE8 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.1% C 0.202 H 288.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7B5CE8
RGBrgb(123, 92, 232)
HSLhsl(253, 75%, 64%)
HSVhsv(253, 60%, 91%)
CMYKcmyk(47%, 60.3%, 0%, 9%)
CIE-LABlab(49.12, 46.19, -66.94)
CIE-LCHlch(49.12, 81.33, 304.61°)
OKLaboklab(58.09% 0.0647 -0.1914)
OKLCHoklch(58.09% 0.202 288.7)
XYZxyz(26.5568, 17.6904, 78.3436)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5CE8 #C9E85C
analogous
#5C83E8 #7B5CE8 #C15CE8
triadic
#7B5CE8 #E87B5C #5CE87B
tetradic
#7B5CE8 #E85C83 #C9E85C #5CE8C1
square
#7B5CE8 #E85C83 #C9E85C #5CE8C1
split-complementary
#7B5CE8 #E8C15C #83E85C
monochromatic
#3B19B1 #5026E0 #7B5CE8 #A692F0 #D2C7F7

Accessibility & contrast

On white

4.63
#7B5CE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7B5CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5CE8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5CE8#FFFFFF#000000##FFFFFF
##7B5CE81.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#0071E5
Tritanopia (blue-blind)
#577C99
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b5ce8;
/* rgb */ color: rgb(123, 92, 232);
/* oklch */ color: oklch(58.1% 0.202 288.7);
Tailwind
colors: {
  custom: {
    50: '#a98bf0',
    500: '#7b5ce8',
    950: '#000000',
  },
}
SCSS
$custom: #7b5ce8;
$custom-light: #a98bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5ce8",
  "rgb": {
    "r": 123,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 253.286,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58086,
    "c": 0.20208,
    "h": 288.7
  },
  "luminance": 0.17691
}

Semantic roles & 50–950 ramp

primary
#7B5CE8
secondary
#DEE9B7
accent
#D70EAB
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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