#7B5BED#7B5BED

#7B5BED is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.3% C 0.210 H 288.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7B5BED
RGBrgb(123, 91, 237)
HSLhsl(253, 80%, 64%)
HSVhsv(253, 62%, 93%)
CMYKcmyk(48.1%, 61.6%, 0%, 7.1%)
CIE-LABlab(49.26, 48.16, -69.52)
CIE-LCHlch(49.26, 84.58, 304.71°)
OKLaboklab(58.3% 0.0655 -0.199)
OKLCHoklch(58.3% 0.21 288.2)
XYZxyz(27.1911, 17.8064, 82.1086)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5BED #CDED5B
analogous
#5B84ED #7B5BED #C45BED
triadic
#7B5BED #ED7B5B #5BED7B
tetradic
#7B5BED #ED5B84 #CDED5B #5BEDC4
square
#7B5BED #ED5B84 #CDED5B #5BEDC4
split-complementary
#7B5BED #EDC45B #84ED5B
monochromatic
#3814B9 #4F24E7 #7B5BED #A792F3 #D4C9F9

Accessibility & contrast

On white

4.60
#7B5BED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#7B5BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5BED
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5BED#FFFFFF#000000##FFFFFF
##7B5BED1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F2
Deuteranopia (green-blind)
#0071EA
Tritanopia (blue-blind)
#547D9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b5bed;
/* rgb */ color: rgb(123, 91, 237);
/* oklch */ color: oklch(58.3% 0.210 288.2);
Tailwind
colors: {
  custom: {
    50: '#a98bf4',
    500: '#7b5bed',
    950: '#000000',
  },
}
SCSS
$custom: #7b5bed;
$custom-light: #a98bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5bed",
  "rgb": {
    "r": 123,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 253.151,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58301,
    "c": 0.20951,
    "h": 288.2
  },
  "luminance": 0.17808
}

Semantic roles & 50–950 ramp

primary
#7B5BED
secondary
#E0EBB9
accent
#DD09AE
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5BED

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

Preview Lab → · Contrast checker → · Palette generator →

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