#7B6EDD#7B6EDD

#7B6EDD is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.4% C 0.163 H 285.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7B6EDD
RGBrgb(123, 110, 221)
HSLhsl(247, 62%, 65%)
HSVhsv(247, 50%, 87%)
CMYKcmyk(44.3%, 50.2%, 0%, 13.3%)
CIE-LABlab(52.49, 32.62, -55.31)
CIE-LCHlch(52.49, 64.21, 300.53°)
OKLaboklab(60.36% 0.0443 -0.1572)
OKLCHoklch(60.36% 0.163 285.8)
XYZxyz(26.7917, 20.5822, 70.9537)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6EDD #D0DD6E
analogous
#6E99DD #7B6EDD #B26EDD
triadic
#7B6EDD #DD7B6E #6EDD7B
tetradic
#7B6EDD #DD6E99 #D0DD6E #6EDDB2
square
#7B6EDD #DD6E99 #D0DD6E #6EDDB2
split-complementary
#7B6EDD #DDB26E #99DD6E
monochromatic
#3728A9 #4E3CD1 #7B6EDD #A8A0E9 #D5D1F4

Accessibility & contrast

On white

4.10
#7B6EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7B6EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6EDD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6EDD#FFFFFF#000000##000000
##7B6EDD1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D80E1
Deuteranopia (green-blind)
#3A7ADB
Tritanopia (blue-blind)
#5C859B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7b6edd;
/* rgb */ color: rgb(123, 110, 221);
/* oklch */ color: oklch(60.4% 0.163 285.8);
Tailwind
colors: {
  custom: {
    50: '#a698e8',
    500: '#7b6edd',
    950: '#000000',
  },
}
SCSS
$custom: #7b6edd;
$custom-light: #a698e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6edd",
  "rgb": {
    "r": 123,
    "g": 110,
    "b": 221
  },
  "hsl": {
    "h": 247.027,
    "s": 62.011,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60355,
    "c": 0.16329,
    "h": 285.8
  },
  "luminance": 0.20583
}

Semantic roles & 50–950 ramp

primary
#7B6EDD
secondary
#E2E6C0
accent
#CA1CB5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7B6EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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