#7B6AF5#7B6AF5

#7B6AF5 is a mid, highly saturated blue. Relative luminance 0.211; OKLCH L 61.3% C 0.200 H 284.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7B6AF5
RGBrgb(123, 106, 245)
HSLhsl(247, 87%, 69%)
HSVhsv(247, 57%, 96%)
CMYKcmyk(49.8%, 56.7%, 0%, 3.9%)
CIE-LABlab(53.07, 41.96, -67.82)
CIE-LCHlch(53.07, 79.75, 301.74°)
OKLaboklab(61.27% 0.0497 -0.194)
OKLCHoklch(61.27% 0.2 284.4)
XYZxyz(29.7989, 21.1101, 88.8730)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6AF5 #E4F56A
analogous
#6A9FF5 #7B6AF5 #C16AF5
triadic
#7B6AF5 #F57B6A #6AF57B
tetradic
#7B6AF5 #F56A9F #E4F56A #6AF5C1
square
#7B6AF5 #F56A9F #E4F56A #6AF5C1
split-complementary
#7B6AF5 #F5C16A #9FF56A
monochromatic
#270ED6 #4831F1 #7B6AF5 #AEA3F9 #E1DDFD

Accessibility & contrast

On white

4.02
#7B6AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#7B6AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6AF5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6AF5#FFFFFF#000000##000000
##7B6AF51.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FA
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#4D8AA5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7b6af5;
/* rgb */ color: rgb(123, 106, 245);
/* oklch */ color: oklch(61.3% 0.200 284.4);
Tailwind
colors: {
  custom: {
    50: '#a995f9',
    500: '#7b6af5',
    950: '#000000',
  },
}
SCSS
$custom: #7b6af5;
$custom-light: #a995f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6af5",
  "rgb": {
    "r": 123,
    "g": 106,
    "b": 245
  },
  "hsl": {
    "h": 247.338,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6127,
    "c": 0.20023,
    "h": 284.4
  },
  "luminance": 0.21112
}

Semantic roles & 50–950 ramp

primary
#7B6AF5
secondary
#EDF2C9
accent
#E402C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7B6AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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