#7F6BF7#7F6BF7

#7F6BF7 is a mid, highly saturated blue. Relative luminance 0.217; OKLCH L 61.9% C 0.201 H 285.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7F6BF7
RGBrgb(127, 107, 247)
HSLhsl(249, 90%, 69%)
HSVhsv(249, 57%, 97%)
CMYKcmyk(48.6%, 56.7%, 0%, 3.1%)
CIE-LABlab(53.75, 42.76, -67.82)
CIE-LCHlch(53.75, 80.17, 302.23°)
OKLaboklab(61.9% 0.0535 -0.1938)
OKLCHoklch(61.9% 0.201 285.4)
XYZxyz(30.7936, 21.7413, 90.5516)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6BF7 #E3F76B
analogous
#6B9DF7 #7F6BF7 #C56BF7
triadic
#7F6BF7 #F77F6B #6BF77F
tetradic
#7F6BF7 #F76B9D #E3F76B #6BF7C5
square
#7F6BF7 #F76B9D #E3F76B #6BF7C5
split-complementary
#7F6BF7 #F7C56B #9DF76B
monochromatic
#2A0CDC #4D31F4 #7F6BF7 #B1A5FA #E3DFFD

Accessibility & contrast

On white

3.93
#7F6BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#7F6BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6BF7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6BF7#FFFFFF#000000##000000
##7F6BF71.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FC
Deuteranopia (green-blind)
#007CF4
Tritanopia (blue-blind)
#548BA7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7f6bf7;
/* rgb */ color: rgb(127, 107, 247);
/* oklch */ color: oklch(61.9% 0.201 285.4);
Tailwind
colors: {
  custom: {
    50: '#ac96fb',
    500: '#7f6bf7',
    950: '#000000',
  },
}
SCSS
$custom: #7f6bf7;
$custom-light: #ac96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6bf7",
  "rgb": {
    "r": 127,
    "g": 107,
    "b": 247
  },
  "hsl": {
    "h": 248.571,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61895,
    "c": 0.20108,
    "h": 285.4
  },
  "luminance": 0.21743
}

Semantic roles & 50–950 ramp

primary
#7F6BF7
secondary
#EDF3CB
accent
#E600C5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F6BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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