#7F7BF7#7F7BF7

#7F7BF7 is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.7% C 0.180 H 281.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7F7BF7
RGBrgb(127, 123, 247)
HSLhsl(242, 89%, 73%)
HSVhsv(242, 50%, 97%)
CMYKcmyk(48.6%, 50.2%, 0%, 3.1%)
CIE-LABlab(57.45, 33.45, -61.85)
CIE-LCHlch(57.45, 70.32, 298.40°)
OKLaboklab(64.65% 0.0361 -0.1762)
OKLCHoklch(64.65% 0.18 281.6)
XYZxyz(32.6188, 25.3916, 91.1600)
Luminance0.2539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7BF7 #F3F77B
analogous
#7BB5F7 #7F7BF7 #BD7BF7
triadic
#7F7BF7 #F77F7B #7BF77F
tetradic
#7F7BF7 #F77BB5 #F3F77B #7BF7BD
square
#7F7BF7 #F77BB5 #F3F77B #7BF7BD
split-complementary
#7F7BF7 #F7BD7B #B5F77B
monochromatic
#150EE9 #4741F4 #7F7BF7 #B7B5FA #E3E2FD

Accessibility & contrast

On white

3.45
#7F7BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#7F7BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7BF7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7BF7#FFFFFF#000000##000000
##7F7BF71.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8EFB
Deuteranopia (green-blind)
#3686F4
Tritanopia (blue-blind)
#5296AE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7f7bf7;
/* rgb */ color: rgb(127, 123, 247);
/* oklch */ color: oklch(64.7% 0.180 281.6);
Tailwind
colors: {
  custom: {
    50: '#aba1fa',
    500: '#7f7bf7',
    950: '#000000',
  },
}
SCSS
$custom: #7f7bf7;
$custom-light: #aba1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7bf7",
  "rgb": {
    "r": 127,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 241.935,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.64653,
    "c": 0.17986,
    "h": 281.6
  },
  "luminance": 0.25393
}

Semantic roles & 50–950 ramp

primary
#7F7BF7
secondary
#F4F5D6
accent
#E500DE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #7F7BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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