#7B5CBF#7B5CBF

#7B5CBF is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.3% C 0.150 H 295.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7B5CBF
RGBrgb(123, 92, 191)
HSLhsl(259, 44%, 55%)
HSVhsv(259, 52%, 75%)
CMYKcmyk(35.6%, 51.8%, 0%, 25.1%)
CIE-LABlab(46.48, 34.85, -47.77)
CIE-LCHlch(46.48, 59.13, 306.11°)
OKLaboklab(55.3% 0.0645 -0.1351)
OKLCHoklch(55.3% 0.15 295.5)
XYZxyz(21.3971, 15.6265, 51.1690)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5CBF #A0BF5C
analogous
#5C6EBF #7B5CBF #AC5CBF
triadic
#7B5CBF #BF7B5C #5CBF7B
tetradic
#7B5CBF #BF5C6E #A0BF5C #5CBFAC
square
#7B5CBF #BF5C6E #A0BF5C #5CBFAC
split-complementary
#7B5CBF #BFAC5C #6EBF5C
monochromatic
#432D73 #5D3F9F #7B5CBF #9F88D0 #C2B4E2

Accessibility & contrast

On white

5.09
#7B5CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7B5CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5CBF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5CBF#FFFFFF#000000##FFFFFF
##7B5CBF1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356FC2
Deuteranopia (green-blind)
#3D6DBD
Tritanopia (blue-blind)
#6B7085
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b5cbf;
/* rgb */ color: rgb(123, 92, 191);
/* oklch */ color: oklch(55.3% 0.150 295.5);
Tailwind
colors: {
  custom: {
    50: '#a58bd3',
    500: '#7b5cbf',
    950: '#000000',
  },
}
SCSS
$custom: #7b5cbf;
$custom-light: #a58bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5cbf",
  "rgb": {
    "r": 123,
    "g": 92,
    "b": 191
  },
  "hsl": {
    "h": 258.788,
    "s": 43.612,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55299,
    "c": 0.14971,
    "h": 295.5
  },
  "luminance": 0.15627
}

Semantic roles & 50–950 ramp

primary
#7B5CBF
secondary
#C3D0A7
accent
#D354AC
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7B5CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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