#7D6CE1#7D6CE1

#7D6CE1 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.4% C 0.171 H 286.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7D6CE1
RGBrgb(125, 108, 225)
HSLhsl(249, 66%, 65%)
HSVhsv(249, 52%, 88%)
CMYKcmyk(44.4%, 52%, 0%, 11.8%)
CIE-LABlab(52.42, 35.41, -57.67)
CIE-LCHlch(52.42, 67.67, 301.55°)
OKLaboklab(60.42% 0.0494 -0.164)
OKLCHoklch(60.42% 0.171 286.8)
XYZxyz(27.4067, 20.5202, 73.7363)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6CE1 #D0E16C
analogous
#6C95E1 #7D6CE1 #B76CE1
triadic
#7D6CE1 #E17D6C #6CE17D
tetradic
#7D6CE1 #E16C95 #D0E16C #6CE1B7
square
#7D6CE1 #E16C95 #D0E16C #6CE1B7
split-complementary
#7D6CE1 #E1B76C #95E16C
monochromatic
#3824AF #5039D7 #7D6CE1 #AA9FEB #D7D2F6

Accessibility & contrast

On white

4.11
#7D6CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#7D6CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6CE1
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6CE1#FFFFFF#000000##000000
##7D6CE11.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3480E5
Deuteranopia (green-blind)
#337ADE
Tritanopia (blue-blind)
#5E859C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7d6ce1;
/* rgb */ color: rgb(125, 108, 225);
/* oklch */ color: oklch(60.4% 0.171 286.8);
Tailwind
colors: {
  custom: {
    50: '#a896eb',
    500: '#7d6ce1',
    950: '#000000',
  },
}
SCSS
$custom: #7d6ce1;
$custom-light: #a896eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6ce1",
  "rgb": {
    "r": 125,
    "g": 108,
    "b": 225
  },
  "hsl": {
    "h": 248.718,
    "s": 66.102,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60422,
    "c": 0.17131,
    "h": 286.8
  },
  "luminance": 0.20521
}

Semantic roles & 50–950 ramp

primary
#7D6CE1
secondary
#E2E8C1
accent
#CE18B3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7D6CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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