#7B5DEB#7B5DEB

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

Color values

HEX#7B5DEB
RGBrgb(123, 93, 235)
HSLhsl(253, 78%, 64%)
HSVhsv(253, 60%, 92%)
CMYKcmyk(47.7%, 60.4%, 0%, 7.8%)
CIE-LABlab(49.54, 46.48, -67.95)
CIE-LCHlch(49.54, 82.32, 304.38°)
OKLaboklab(58.46% 0.0635 -0.1944)
OKLCHoklch(58.46% 0.205 288.1)
XYZxyz(27.0738, 18.0367, 80.6360)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5DEB #CDEB5D
analogous
#5D86EB #7B5DEB #C25DEB
triadic
#7B5DEB #EB7B5D #5DEB7B
tetradic
#7B5DEB #EB5D86 #CDEB5D #5DEBC2
square
#7B5DEB #EB5D86 #CDEB5D #5DEBC2
split-complementary
#7B5DEB #EBC25D #86EB5D
monochromatic
#3817B7 #4F27E4 #7B5DEB #A793F2 #D4CAF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B5DEB#FFFFFF#000000##000000
##7B5DEB1.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)
#0079F0
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#557E9B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b5deb;
/* rgb */ color: rgb(123, 93, 235);
/* oklch */ color: oklch(58.5% 0.204 288.1);
Tailwind
colors: {
  custom: {
    50: '#a98cf2',
    500: '#7b5deb',
    950: '#000000',
  },
}
SCSS
$custom: #7b5deb;
$custom-light: #a98cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5deb",
  "rgb": {
    "r": 123,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 252.676,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58461,
    "c": 0.2045,
    "h": 288.1
  },
  "luminance": 0.18038
}

Semantic roles & 50–950 ramp

primary
#7B5DEB
secondary
#E0EBB9
accent
#DA0BAF
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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