#7B5CEE#7B5CEE

#7B5CEE is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.5% C 0.209 H 287.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7B5CEE
RGBrgb(123, 92, 238)
HSLhsl(253, 81%, 65%)
HSVhsv(253, 61%, 93%)
CMYKcmyk(48.3%, 61.3%, 0%, 6.7%)
CIE-LABlab(49.54, 47.89, -69.63)
CIE-LCHlch(49.54, 84.51, 304.52°)
OKLaboklab(58.53% 0.0644 -0.1993)
OKLCHoklch(58.53% 0.209 287.9)
XYZxyz(27.4237, 18.0371, 82.9089)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5CEE #CFEE5C
analogous
#5C86EE #7B5CEE #C45CEE
triadic
#7B5CEE #EE7B5C #5CEE7B
tetradic
#7B5CEE #EE5C86 #CFEE5C #5CEEC4
square
#7B5CEE #EE5C86 #CFEE5C #5CEEC4
split-complementary
#7B5CEE #EEC45C #86EE5C
monochromatic
#3714BC #4E25E8 #7B5CEE #A893F4 #D5CBFA

Accessibility & contrast

On white

4.56
#7B5CEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7B5CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5CEE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5CEE#FFFFFF#000000##000000
##7B5CEE1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F3
Deuteranopia (green-blind)
#0072EB
Tritanopia (blue-blind)
#547E9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b5cee;
/* rgb */ color: rgb(123, 92, 238);
/* oklch */ color: oklch(58.5% 0.209 287.9);
Tailwind
colors: {
  custom: {
    50: '#a98bf4',
    500: '#7b5cee',
    950: '#000000',
  },
}
SCSS
$custom: #7b5cee;
$custom-light: #a98bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5cee",
  "rgb": {
    "r": 123,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 252.74,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58528,
    "c": 0.20947,
    "h": 287.9
  },
  "luminance": 0.18038
}

Semantic roles & 50–950 ramp

primary
#7B5CEE
secondary
#E1ECBA
accent
#DD08B0
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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