#7F7BF3#7F7BF3

#7F7BF3 is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.4% C 0.175 H 281.8°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7F7BF3
RGBrgb(127, 123, 243)
HSLhsl(242, 83%, 72%)
HSVhsv(242, 49%, 95%)
CMYKcmyk(47.7%, 49.4%, 0%, 4.7%)
CIE-LABlab(57.22, 32.27, -60.02)
CIE-LCHlch(57.22, 68.14, 298.26°)
OKLaboklab(64.4% 0.0357 -0.1708)
OKLCHoklch(64.4% 0.175 281.8)
XYZxyz(32.0081, 25.1474, 87.9440)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7BF3 #EFF37B
analogous
#7BB3F3 #7F7BF3 #BB7BF3
triadic
#7F7BF3 #F37F7B #7BF37F
tetradic
#7F7BF3 #F37BB3 #EFF37B #7BF3BB
square
#7F7BF3 #F37BB3 #EFF37B #7BF3BB
split-complementary
#7F7BF3 #F3BB7B #B3F37B
monochromatic
#1B14DF #4943EE #7F7BF3 #B5B3F8 #E4E3FC

Accessibility & contrast

On white

3.48
#7F7BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#7F7BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7BF3
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7BF3#FFFFFF#000000##000000
##7F7BF31.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#448EF7
Deuteranopia (green-blind)
#3B85F0
Tritanopia (blue-blind)
#5595AC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7f7bf3;
/* rgb */ color: rgb(127, 123, 243);
/* oklch */ color: oklch(64.4% 0.175 281.8);
Tailwind
colors: {
  custom: {
    50: '#aba1f8',
    500: '#7f7bf3',
    950: '#000000',
  },
}
SCSS
$custom: #7f7bf3;
$custom-light: #aba1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7bf3",
  "rgb": {
    "r": 127,
    "g": 123,
    "b": 243
  },
  "hsl": {
    "h": 242,
    "s": 83.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.64399,
    "c": 0.17452,
    "h": 281.8
  },
  "luminance": 0.25149
}

Semantic roles & 50–950 ramp

primary
#7F7BF3
secondary
#F3F4D6
accent
#E006D8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #7F7BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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