#7F6DFB#7F6DFB

#7F6DFB is a light, highly saturated blue. Relative luminance 0.224; OKLCH L 62.5% C 0.204 H 284.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7F6DFB
RGBrgb(127, 109, 251)
HSLhsl(248, 95%, 71%)
HSVhsv(248, 57%, 98%)
CMYKcmyk(49.4%, 56.6%, 0%, 1.6%)
CIE-LABlab(54.46, 42.77, -68.89)
CIE-LCHlch(54.46, 81.08, 301.83°)
OKLaboklab(62.5% 0.0514 -0.197)
OKLCHoklch(62.5% 0.204 284.6)
XYZxyz(31.6284, 22.4127, 93.9076)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6DFB #E9FB6D
analogous
#6DA2FB #7F6DFB #C66DFB
triadic
#7F6DFB #FB7F6D #6DFB7F
tetradic
#7F6DFB #FB6DA2 #E9FB6D #6DFBC6
square
#7F6DFB #FB6DA2 #E9FB6D #6DFBC6
split-complementary
#7F6DFB #FBC66D #A2FB6D
monochromatic
#2306E7 #4B31F9 #7F6DFB #B3A9FD #E5E1FE

Accessibility & contrast

On white

3.83
#7F6DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#7F6DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6DFB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6DFB#FFFFFF#000000##000000
##7F6DFB1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007EF8
Tritanopia (blue-blind)
#518DAA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7f6dfb;
/* rgb */ color: rgb(127, 109, 251);
/* oklch */ color: oklch(62.5% 0.204 284.6);
Tailwind
colors: {
  custom: {
    50: '#ac97fd',
    500: '#7f6dfb',
    950: '#000000',
  },
}
SCSS
$custom: #7f6dfb;
$custom-light: #ac97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6dfb",
  "rgb": {
    "r": 127,
    "g": 109,
    "b": 251
  },
  "hsl": {
    "h": 247.606,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.62504,
    "c": 0.20357,
    "h": 284.6
  },
  "luminance": 0.22414
}

Semantic roles & 50–950 ramp

primary
#7F6DFB
secondary
#F0F5CF
accent
#E600C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7F6DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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