#7F6CF8#7F6CF8

#7F6CF8 is a light, highly saturated blue. Relative luminance 0.220; OKLCH L 62.1% C 0.201 H 285.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7F6CF8
RGBrgb(127, 108, 248)
HSLhsl(248, 91%, 70%)
HSVhsv(248, 56%, 97%)
CMYKcmyk(48.8%, 56.5%, 0%, 2.7%)
CIE-LABlab(54.04, 42.47, -67.91)
CIE-LCHlch(54.04, 80.09, 302.02°)
OKLaboklab(62.13% 0.0524 -0.1941)
OKLCHoklch(62.13% 0.201 285.1)
XYZxyz(31.0532, 22.0129, 91.4014)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6CF8 #E5F86C
analogous
#6C9FF8 #7F6CF8 #C56CF8
triadic
#7F6CF8 #F87F6C #6CF87F
tetradic
#7F6CF8 #F86C9F #E5F86C #6CF8C5
square
#7F6CF8 #F86C9F #E5F86C #6CF8C5
split-complementary
#7F6CF8 #F8C56C #9FF86C
monochromatic
#270BDF #4C32F5 #7F6CF8 #B2A6FB #E5E1FE

Accessibility & contrast

On white

3.89
#7F6CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7F6CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6CF8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6CF8#FFFFFF#000000##000000
##7F6CF81.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FD
Deuteranopia (green-blind)
#007DF5
Tritanopia (blue-blind)
#538CA8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7f6cf8;
/* rgb */ color: rgb(127, 108, 248);
/* oklch */ color: oklch(62.1% 0.201 285.1);
Tailwind
colors: {
  custom: {
    50: '#ac97fb',
    500: '#7f6cf8',
    950: '#000000',
  },
}
SCSS
$custom: #7f6cf8;
$custom-light: #ac97fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6cf8",
  "rgb": {
    "r": 127,
    "g": 108,
    "b": 248
  },
  "hsl": {
    "h": 248.143,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6213,
    "c": 0.20104,
    "h": 285.1
  },
  "luminance": 0.22014
}

Semantic roles & 50–950 ramp

primary
#7F6CF8
secondary
#EEF4CC
accent
#E600C6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F6CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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