#7D6AFB#7D6AFB

#7D6AFB is a mid, highly saturated blue. Relative luminance 0.216; OKLCH L 61.9% C 0.208 H 284.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7D6AFB
RGBrgb(125, 106, 251)
HSLhsl(248, 95%, 70%)
HSVhsv(248, 58%, 98%)
CMYKcmyk(50.2%, 57.8%, 0%, 1.6%)
CIE-LABlab(53.63, 44.10, -70.24)
CIE-LCHlch(53.63, 82.93, 302.12°)
OKLaboklab(61.85% 0.052 -0.201)
OKLCHoklch(61.85% 0.208 284.5)
XYZxyz(31.0189, 21.6315, 93.7889)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6AFB #E8FB6A
analogous
#6AA0FB #7D6AFB #C56AFB
triadic
#7D6AFB #FB7D6A #6AFB7D
tetradic
#7D6AFB #FB6AA0 #E8FB6A #6AFBC5
square
#7D6AFB #FB6AA0 #E8FB6A #6AFBC5
split-complementary
#7D6AFB #FBC56A #A0FB6A
monochromatic
#2306E4 #492EF9 #7D6AFB #B1A6FD #E5E1FE

Accessibility & contrast

On white

3.94
#7D6AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#7D6AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6AFB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6AFB#FFFFFF#000000##000000
##7D6AFB1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#007CF8
Tritanopia (blue-blind)
#4D8CA8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7d6afb;
/* rgb */ color: rgb(125, 106, 251);
/* oklch */ color: oklch(61.9% 0.208 284.5);
Tailwind
colors: {
  custom: {
    50: '#ab95fe',
    500: '#7d6afb',
    950: '#000000',
  },
}
SCSS
$custom: #7d6afb;
$custom-light: #ab95fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6afb",
  "rgb": {
    "r": 125,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 247.862,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.61853,
    "c": 0.20763,
    "h": 284.5
  },
  "luminance": 0.21633
}

Semantic roles & 50–950 ramp

primary
#7D6AFB
secondary
#EFF5CC
accent
#E600C7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7D6AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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