#7B5DEC#7B5DEC

#7B5DEC is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.5% C 0.206 H 288.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7B5DEC
RGBrgb(123, 93, 236)
HSLhsl(253, 79%, 65%)
HSVhsv(253, 61%, 93%)
CMYKcmyk(47.9%, 60.6%, 0%, 7.5%)
CIE-LABlab(49.61, 46.76, -68.39)
CIE-LCHlch(49.61, 82.85, 304.36°)
OKLaboklab(58.53% 0.0635 -0.1957)
OKLCHoklch(58.53% 0.206 288)
XYZxyz(27.2187, 18.0946, 81.3991)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5DEC #CEEC5D
analogous
#5D87EC #7B5DEC #C25DEC
triadic
#7B5DEC #EC7B5D #5DEC7B
tetradic
#7B5DEC #EC5D87 #CEEC5D #5DECC2
square
#7B5DEC #EC5D87 #CEEC5D #5DECC2
split-complementary
#7B5DEC #ECC25D #87EC5D
monochromatic
#3816B9 #4E26E6 #7B5DEC #A894F2 #D4CBF9

Accessibility & contrast

On white

4.55
#7B5DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7B5DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5DEC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5DEC#FFFFFF#000000##000000
##7B5DEC1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#557E9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b5dec;
/* rgb */ color: rgb(123, 93, 236);
/* oklch */ color: oklch(58.5% 0.206 288.0);
Tailwind
colors: {
  custom: {
    50: '#a98cf3',
    500: '#7b5dec',
    950: '#000000',
  },
}
SCSS
$custom: #7b5dec;
$custom-light: #a98cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5dec",
  "rgb": {
    "r": 123,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 252.587,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58534,
    "c": 0.20573,
    "h": 288
  },
  "luminance": 0.18096
}

Semantic roles & 50–950 ramp

primary
#7B5DEC
secondary
#E1EBBA
accent
#DB0AAF
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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