#7B6FC0#7B6FC0

#7B6FC0 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.8% C 0.122 H 288.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7B6FC0
RGBrgb(123, 111, 192)
HSLhsl(249, 39%, 59%)
HSVhsv(249, 42%, 75%)
CMYKcmyk(35.9%, 42.2%, 0%, 24.7%)
CIE-LABlab(51.13, 23.84, -40.95)
CIE-LCHlch(51.13, 47.39, 300.21°)
OKLaboklab(58.82% 0.0394 -0.1151)
OKLCHoklch(58.82% 0.122 288.9)
XYZxyz(23.3647, 19.3850, 52.3696)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6FC0 #B4C06F
analogous
#6F8CC0 #7B6FC0 #A46FC0
triadic
#7B6FC0 #C07B6F #6FC07B
tetradic
#7B6FC0 #C06F8C #B4C06F #6FC0A4
square
#7B6FC0 #C06F8C #B4C06F #6FC0A4
split-complementary
#7B6FC0 #C0A46F #8CC06F
monochromatic
#41377E #584AA8 #7B6FC0 #A29AD3 #C9C4E5

Accessibility & contrast

On white

4.31
#7B6FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#7B6FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6FC0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6FC0#FFFFFF#000000##000000
##7B6FC01.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#547CC3
Deuteranopia (green-blind)
#5478BE
Tritanopia (blue-blind)
#697E8E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7b6fc0;
/* rgb */ color: rgb(123, 111, 192);
/* oklch */ color: oklch(58.8% 0.122 288.9);
Tailwind
colors: {
  custom: {
    50: '#a498d3',
    500: '#7b6fc0',
    950: '#000000',
  },
}
SCSS
$custom: #7b6fc0;
$custom-light: #a498d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6fc0",
  "rgb": {
    "r": 123,
    "g": 111,
    "b": 192
  },
  "hsl": {
    "h": 248.889,
    "s": 39.13,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58815,
    "c": 0.12168,
    "h": 288.9
  },
  "luminance": 0.19386
}

Semantic roles & 50–950 ramp

primary
#7B6FC0
secondary
#D1D5B6
accent
#CF59BE
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0D14
muted
#7F7E83

Preview Lab

Preview with #7B6FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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