#7B5DED#7B5DED

#7B5DED is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.6% C 0.207 H 287.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7B5DED
RGBrgb(123, 93, 237)
HSLhsl(253, 80%, 65%)
HSVhsv(253, 61%, 93%)
CMYKcmyk(48.1%, 60.8%, 0%, 7.1%)
CIE-LABlab(49.68, 47.05, -68.84)
CIE-LCHlch(49.68, 83.38, 304.35°)
OKLaboklab(58.61% 0.0634 -0.197)
OKLCHoklch(58.61% 0.207 287.8)
XYZxyz(27.3644, 18.1529, 82.1664)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5DED #CFED5D
analogous
#5D87ED #7B5DED #C35DED
triadic
#7B5DED #ED7B5D #5DED7B
tetradic
#7B5DED #ED5D87 #CFED5D #5DEDC3
square
#7B5DED #ED5D87 #CFED5D #5DEDC3
split-complementary
#7B5DED #EDC35D #87ED5D
monochromatic
#3715BB #4E26E7 #7B5DED #A894F3 #D5CBF9

Accessibility & contrast

On white

4.53
#7B5DED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7B5DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5DED
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5DED#FFFFFF#000000##000000
##7B5DED1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#0072EA
Tritanopia (blue-blind)
#547F9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b5ded;
/* rgb */ color: rgb(123, 93, 237);
/* oklch */ color: oklch(58.6% 0.207 287.8);
Tailwind
colors: {
  custom: {
    50: '#a98cf4',
    500: '#7b5ded',
    950: '#000000',
  },
}
SCSS
$custom: #7b5ded;
$custom-light: #a98cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5ded",
  "rgb": {
    "r": 123,
    "g": 93,
    "b": 237
  },
  "hsl": {
    "h": 252.5,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58608,
    "c": 0.20697,
    "h": 287.8
  },
  "luminance": 0.18154
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B5DED

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

Preview Lab → · Contrast checker → · Palette generator →

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