#7B5CDA#7B5CDA

#7B5CDA is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.1% C 0.185 H 290.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7B5CDA
RGBrgb(123, 92, 218)
HSLhsl(255, 63%, 61%)
HSVhsv(255, 58%, 85%)
CMYKcmyk(43.6%, 57.8%, 0%, 14.5%)
CIE-LABlab(48.17, 42.26, -60.56)
CIE-LCHlch(48.17, 73.85, 304.91°)
OKLaboklab(57.09% 0.0652 -0.1726)
OKLCHoklch(57.09% 0.185 290.7)
XYZxyz(24.6469, 16.9264, 68.2846)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5CDA #BBDA5C
analogous
#5C7CDA #7B5CDA #BA5CDA
triadic
#7B5CDA #DA7B5C #5CDA7B
tetradic
#7B5CDA #DA5C7C #BBDA5C #5CDABA
square
#7B5CDA #DA5C7C #BBDA5C #5CDABA
split-complementary
#7B5CDA #DABA5C #7CDA5C
monochromatic
#402399 #552ECB #7B5CDA #A38EE5 #CCC0F1

Accessibility & contrast

On white

4.79
#7B5CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7B5CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5CDA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5CDA#FFFFFF#000000##FFFFFF
##7B5CDA1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DE
Deuteranopia (green-blind)
#1070D7
Tritanopia (blue-blind)
#5F7892
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b5cda;
/* rgb */ color: rgb(123, 92, 218);
/* oklch */ color: oklch(57.1% 0.185 290.7);
Tailwind
colors: {
  custom: {
    50: '#a78be6',
    500: '#7b5cda',
    950: '#000000',
  },
}
SCSS
$custom: #7b5cda;
$custom-light: #a78be6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5cda",
  "rgb": {
    "r": 123,
    "g": 92,
    "b": 218
  },
  "hsl": {
    "h": 254.762,
    "s": 63,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57087,
    "c": 0.18457,
    "h": 290.7
  },
  "luminance": 0.16927
}

Semantic roles & 50–950 ramp

primary
#7B5CDA
secondary
#D5E1B1
accent
#CB1B9F
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7B5CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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