#7B6AF7#7B6AF7

#7B6AF7 is a mid, highly saturated blue. Relative luminance 0.212; OKLCH L 61.4% C 0.203 H 284.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7B6AF7
RGBrgb(123, 106, 247)
HSLhsl(247, 90%, 69%)
HSVhsv(247, 57%, 97%)
CMYKcmyk(50.2%, 57.1%, 0%, 3.1%)
CIE-LABlab(53.20, 42.54, -68.72)
CIE-LCHlch(53.20, 80.82, 301.76°)
OKLaboklab(61.41% 0.0497 -0.1966)
OKLCHoklch(61.41% 0.203 284.2)
XYZxyz(30.1059, 21.2329, 90.4897)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6AF7 #E6F76A
analogous
#6AA0F7 #7B6AF7 #C26AF7
triadic
#7B6AF7 #F77B6A #6AF77B
tetradic
#7B6AF7 #F76AA0 #E6F76A #6AF7C2
square
#7B6AF7 #F76AA0 #E6F76A #6AF7C2
split-complementary
#7B6AF7 #F7C26A #A0F76A
monochromatic
#250CDB #4830F4 #7B6AF7 #AEA4FA #E2DEFD

Accessibility & contrast

On white

4.00
#7B6AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7B6AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6AF7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6AF7#FFFFFF#000000##000000
##7B6AF71.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FC
Deuteranopia (green-blind)
#007BF4
Tritanopia (blue-blind)
#4C8AA6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7b6af7;
/* rgb */ color: rgb(123, 106, 247);
/* oklch */ color: oklch(61.4% 0.203 284.2);
Tailwind
colors: {
  custom: {
    50: '#aa95fb',
    500: '#7b6af7',
    950: '#000000',
  },
}
SCSS
$custom: #7b6af7;
$custom-light: #aa95fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6af7",
  "rgb": {
    "r": 123,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 247.234,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61411,
    "c": 0.20278,
    "h": 284.2
  },
  "luminance": 0.21234
}

Semantic roles & 50–950 ramp

primary
#7B6AF7
secondary
#EEF3CA
accent
#E600CA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7B6AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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