#7B5CBB#7B5CBB

#7B5CBB is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.1% C 0.144 H 296.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7B5CBB
RGBrgb(123, 92, 187)
HSLhsl(260, 41%, 55%)
HSVhsv(260, 51%, 73%)
CMYKcmyk(34.2%, 50.8%, 0%, 26.7%)
CIE-LABlab(46.25, 33.78, -45.82)
CIE-LCHlch(46.25, 56.92, 306.40°)
OKLaboklab(55.05% 0.0642 -0.1294)
OKLCHoklch(55.05% 0.144 296.4)
XYZxyz(20.9629, 15.4528, 48.8823)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5CBB #9CBB5C
analogous
#5C6CBB #7B5CBB #AB5CBB
triadic
#7B5CBB #BB7B5C #5CBB7B
tetradic
#7B5CBB #BB5C6C #9CBB5C #5CBBAB
square
#7B5CBB #BB5C6C #9CBB5C #5CBBAB
split-complementary
#7B5CBB #BBAB5C #6CBB5C
monochromatic
#432E6F #5D409A #7B5CBB #9E87CD #C1B2DF

Accessibility & contrast

On white

5.13
#7B5CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7B5CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5CBB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5CBB#FFFFFF#000000##FFFFFF
##7B5CBB1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396EBE
Deuteranopia (green-blind)
#406CB9
Tritanopia (blue-blind)
#6D6E83
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b5cbb;
/* rgb */ color: rgb(123, 92, 187);
/* oklch */ color: oklch(55.1% 0.144 296.4);
Tailwind
colors: {
  custom: {
    50: '#a48bd0',
    500: '#7b5cbb',
    950: '#000000',
  },
}
SCSS
$custom: #7b5cbb;
$custom-light: #a48bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5cbb",
  "rgb": {
    "r": 123,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 259.579,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55051,
    "c": 0.14443,
    "h": 296.4
  },
  "luminance": 0.15453
}

Semantic roles & 50–950 ramp

primary
#7B5CBB
secondary
#C0CDA5
accent
#D157A9
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7B5CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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