#7B5BCF#7B5BCF

#7B5BCF is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.2% C 0.172 H 292.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7B5BCF
RGBrgb(123, 91, 207)
HSLhsl(257, 55%, 58%)
HSVhsv(257, 56%, 81%)
CMYKcmyk(40.6%, 56%, 0%, 18.8%)
CIE-LABlab(47.23, 39.78, -55.79)
CIE-LCHlch(47.23, 68.52, 305.50°)
OKLaboklab(56.17% 0.0664 -0.1586)
OKLCHoklch(56.17% 0.172 292.7)
XYZxyz(23.1689, 16.1975, 60.9251)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5BCF #AFCF5B
analogous
#5B75CF #7B5BCF #B55BCF
triadic
#7B5BCF #CF7B5B #5BCF7B
tetradic
#7B5BCF #CF5B75 #AFCF5B #5BCFB5
square
#7B5BCF #CF5B75 #AFCF5B #5BCFB5
split-complementary
#7B5BCF #CFB55B #75CF5B
monochromatic
#422888 #5936B7 #7B5BCF #A18ADD #C7BAEB

Accessibility & contrast

On white

4.95
#7B5BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7B5BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5BCF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5BCF#FFFFFF#000000##FFFFFF
##7B5BCF1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D72D3
Deuteranopia (green-blind)
#276ECC
Tritanopia (blue-blind)
#65748C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b5bcf;
/* rgb */ color: rgb(123, 91, 207);
/* oklch */ color: oklch(56.2% 0.172 292.7);
Tailwind
colors: {
  custom: {
    50: '#a68ade',
    500: '#7b5bcf',
    950: '#000000',
  },
}
SCSS
$custom: #7b5bcf;
$custom-light: #a68ade;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5bcf",
  "rgb": {
    "r": 123,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 256.552,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56171,
    "c": 0.17197,
    "h": 292.7
  },
  "luminance": 0.16198
}

Semantic roles & 50–950 ramp

primary
#7B5BCF
secondary
#CDDAAC
accent
#DE4AB5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7B5BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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