#7F6BFB#7F6BFB

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

Color values

HEX#7F6BFB
RGBrgb(127, 107, 251)
HSLhsl(248, 95%, 70%)
HSVhsv(248, 57%, 98%)
CMYKcmyk(49.4%, 57.4%, 0%, 1.6%)
CIE-LABlab(54.02, 43.91, -69.61)
CIE-LCHlch(54.02, 82.30, 302.25°)
OKLaboklab(62.18% 0.0534 -0.1991)
OKLCHoklch(62.18% 0.206 285)
XYZxyz(31.4175, 21.9909, 93.8373)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6BFB #E7FB6B
analogous
#6B9FFB #7F6BFB #C76BFB
triadic
#7F6BFB #FB7F6B #6BFB7F
tetradic
#7F6BFB #FB6B9F #E7FB6B #6BFBC7
square
#7F6BFB #FB6B9F #E7FB6B #6BFBC7
split-complementary
#7F6BFB #FBC76B #9FFB6B
monochromatic
#2506E5 #4B2FF9 #7F6BFB #B3A7FD #E5E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F6BFB#FFFFFF#000000##000000
##7F6BFB1.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)
#0085FF
Deuteranopia (green-blind)
#007DF8
Tritanopia (blue-blind)
#518CA9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7f6bfb;
/* rgb */ color: rgb(127, 107, 251);
/* oklch */ color: oklch(62.2% 0.206 285.0);
Tailwind
colors: {
  custom: {
    50: '#ac96fe',
    500: '#7f6bfb',
    950: '#000000',
  },
}
SCSS
$custom: #7f6bfb;
$custom-light: #ac96fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6bfb",
  "rgb": {
    "r": 127,
    "g": 107,
    "b": 251
  },
  "hsl": {
    "h": 248.333,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.62176,
    "c": 0.20615,
    "h": 285
  },
  "luminance": 0.21992
}

Semantic roles & 50–950 ramp

primary
#7F6BFB
secondary
#EFF5CD
accent
#E600C6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7F6BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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