#7F6DFD#7F6DFD

#7F6DFD is a light, highly saturated blue. Relative luminance 0.225; OKLCH L 62.6% C 0.206 H 284.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7F6DFD
RGBrgb(127, 109, 253)
HSLhsl(248, 97%, 71%)
HSVhsv(248, 57%, 99%)
CMYKcmyk(49.8%, 56.9%, 0%, 0.8%)
CIE-LABlab(54.59, 43.35, -69.78)
CIE-LCHlch(54.59, 82.15, 301.85°)
OKLaboklab(62.64% 0.0513 -0.1996)
OKLCHoklch(62.64% 0.206 284.4)
XYZxyz(31.9454, 22.5395, 95.5768)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6DFD #EBFD6D
analogous
#6DA3FD #7F6DFD #C76DFD
triadic
#7F6DFD #FD7F6D #6DFD7F
tetradic
#7F6DFD #FD6DA3 #EBFD6D #6DFDC7
square
#7F6DFD #FD6DA3 #EBFD6D #6DFDC7
split-complementary
#7F6DFD #FDC76D #A3FD6D
monochromatic
#2003EC #4A31FC #7F6DFD #B4A9FE #E5E1FF

Accessibility & contrast

On white

3.81
#7F6DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#7F6DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6DFD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6DFD#FFFFFF#000000##000000
##7F6DFD1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007EFA
Tritanopia (blue-blind)
#4F8EAB
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7f6dfd;
/* rgb */ color: rgb(127, 109, 253);
/* oklch */ color: oklch(62.6% 0.206 284.4);
Tailwind
colors: {
  custom: {
    50: '#ad97ff',
    500: '#7f6dfd',
    950: '#000000',
  },
}
SCSS
$custom: #7f6dfd;
$custom-light: #ad97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6dfd",
  "rgb": {
    "r": 127,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 247.5,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.62644,
    "c": 0.2061,
    "h": 284.4
  },
  "luminance": 0.22541
}

Semantic roles & 50–950 ramp

primary
#7F6DFD
secondary
#F1F6D0
accent
#E600C9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7F6DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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