#7B6BC0#7B6BC0

#7B6BC0 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.1% C 0.128 H 290.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7B6BC0
RGBrgb(123, 107, 192)
HSLhsl(251, 40%, 59%)
HSVhsv(251, 44%, 75%)
CMYKcmyk(35.9%, 44.3%, 0%, 24.7%)
CIE-LABlab(50.13, 26.23, -42.53)
CIE-LCHlch(50.13, 49.97, 301.67°)
OKLaboklab(58.06% 0.0448 -0.1197)
OKLCHoklch(58.06% 0.128 290.5)
XYZxyz(22.9380, 18.5315, 52.2274)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6BC0 #B0C06B
analogous
#6B85C0 #7B6BC0 #A56BC0
triadic
#7B6BC0 #C07B6B #6BC07B
tetradic
#7B6BC0 #C06B85 #B0C06B #6BC0A5
square
#7B6BC0 #C06B85 #B0C06B #6BC0A5
split-complementary
#7B6BC0 #C0A56B #85C06B
monochromatic
#42357C #5947A7 #7B6BC0 #A196D2 #C8C1E5

Accessibility & contrast

On white

4.46
#7B6BC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#7B6BC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6BC0
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6BC0#FFFFFF#000000##000000
##7B6BC01.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E79C3
Deuteranopia (green-blind)
#4F75BE
Tritanopia (blue-blind)
#6A7B8C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b6bc0;
/* rgb */ color: rgb(123, 107, 192);
/* oklch */ color: oklch(58.1% 0.128 290.5);
Tailwind
colors: {
  custom: {
    50: '#a495d3',
    500: '#7b6bc0',
    950: '#000000',
  },
}
SCSS
$custom: #7b6bc0;
$custom-light: #a495d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6bc0",
  "rgb": {
    "r": 123,
    "g": 107,
    "b": 192
  },
  "hsl": {
    "h": 251.294,
    "s": 40.284,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58058,
    "c": 0.12785,
    "h": 290.5
  },
  "luminance": 0.18532
}

Semantic roles & 50–950 ramp

primary
#7B6BC0
secondary
#CED4B3
accent
#D058B9
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#0F0D14
muted
#7F7E83

Preview Lab

Preview with #7B6BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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