#7B5CCF#7B5CCF

#7B5CCF is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.3% C 0.171 H 292.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7B5CCF
RGBrgb(123, 92, 207)
HSLhsl(256, 55%, 59%)
HSVhsv(256, 56%, 81%)
CMYKcmyk(40.6%, 55.6%, 0%, 18.8%)
CIE-LABlab(47.46, 39.21, -55.43)
CIE-LCHlch(47.46, 67.89, 305.28°)
OKLaboklab(56.34% 0.0652 -0.1576)
OKLCHoklch(56.34% 0.171 292.5)
XYZxyz(23.2550, 16.3696, 60.9538)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5CCF #B0CF5C
analogous
#5C76CF #7B5CCF #B45CCF
triadic
#7B5CCF #CF7B5C #5CCF7B
tetradic
#7B5CCF #CF5C76 #B0CF5C #5CCFB4
square
#7B5CCF #CF5C76 #B0CF5C #5CCFB4
split-complementary
#7B5CCF #CFB45C #76CF5C
monochromatic
#422888 #5936B8 #7B5CCF #A18BDD #C8BBEB

Accessibility & contrast

On white

4.91
#7B5CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7B5CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5CCF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5CCF#FFFFFF#000000##FFFFFF
##7B5CCF1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2172D3
Deuteranopia (green-blind)
#296ECC
Tritanopia (blue-blind)
#65748D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b5ccf;
/* rgb */ color: rgb(123, 92, 207);
/* oklch */ color: oklch(56.3% 0.171 292.5);
Tailwind
colors: {
  custom: {
    50: '#a68bde',
    500: '#7b5ccf',
    950: '#000000',
  },
}
SCSS
$custom: #7b5ccf;
$custom-light: #a68bde;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5ccf",
  "rgb": {
    "r": 123,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 256.174,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56336,
    "c": 0.17053,
    "h": 292.5
  },
  "luminance": 0.1637
}

Semantic roles & 50–950 ramp

primary
#7B5CCF
secondary
#CEDAAD
accent
#DE4AB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7B5CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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