#7B6BC2#7B6BC2

#7B6BC2 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.2% C 0.131 H 290.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7B6BC2
RGBrgb(123, 107, 194)
HSLhsl(251, 42%, 59%)
HSVhsv(251, 45%, 76%)
CMYKcmyk(36.6%, 44.8%, 0%, 23.9%)
CIE-LABlab(50.24, 26.78, -43.52)
CIE-LCHlch(50.24, 51.10, 301.61°)
OKLaboklab(58.17% 0.0451 -0.1226)
OKLCHoklch(58.17% 0.131 290.2)
XYZxyz(23.1611, 18.6208, 53.4023)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6BC2 #B2C26B
analogous
#6B87C2 #7B6BC2 #A76BC2
triadic
#7B6BC2 #C27B6B #6BC27B
tetradic
#7B6BC2 #C26B87 #B2C26B #6BC2A7
square
#7B6BC2 #C26B87 #B2C26B #6BC2A7
split-complementary
#7B6BC2 #C2A76B #87C26B
monochromatic
#42347E #5846AA #7B6BC2 #A296D4 #C8C2E6

Accessibility & contrast

On white

4.45
#7B6BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7B6BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6BC2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6BC2#FFFFFF#000000##000000
##7B6BC21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C5
Deuteranopia (green-blind)
#4E76C0
Tritanopia (blue-blind)
#697C8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b6bc2;
/* rgb */ color: rgb(123, 107, 194);
/* oklch */ color: oklch(58.2% 0.131 290.2);
Tailwind
colors: {
  custom: {
    50: '#a495d5',
    500: '#7b6bc2',
    950: '#000000',
  },
}
SCSS
$custom: #7b6bc2;
$custom-light: #a495d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6bc2",
  "rgb": {
    "r": 123,
    "g": 107,
    "b": 194
  },
  "hsl": {
    "h": 251.034,
    "s": 41.627,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58172,
    "c": 0.13064,
    "h": 290.2
  },
  "luminance": 0.18621
}

Semantic roles & 50–950 ramp

primary
#7B6BC2
secondary
#CFD5B3
accent
#D156BB
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#0F0D14
muted
#7F7E83

Preview Lab

Preview with #7B6BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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