#7F7BFA#7F7BFA

#7F7BFA is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.8% C 0.184 H 281.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7F7BFA
RGBrgb(127, 123, 250)
HSLhsl(242, 93%, 73%)
HSVhsv(242, 51%, 98%)
CMYKcmyk(49.2%, 50.8%, 0%, 2%)
CIE-LABlab(57.63, 34.33, -63.22)
CIE-LCHlch(57.63, 71.94, 298.50°)
OKLaboklab(64.85% 0.0363 -0.1802)
OKLCHoklch(64.85% 0.184 281.4)
XYZxyz(33.0854, 25.5783, 93.6177)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7BFA #F6FA7B
analogous
#7BB6FA #7F7BFA #BE7BFA
triadic
#7F7BFA #FA7F7B #7BFA7F
tetradic
#7F7BFA #FA7BB6 #F6FA7B #7BFABE
square
#7F7BFA #FA7BB6 #F6FA7B #7BFABE
split-complementary
#7F7BFA #FABE7B #B6FA7B
monochromatic
#1009F1 #4640F8 #7F7BFA #B8B6FC #E2E2FE

Accessibility & contrast

On white

3.43
#7F7BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#7F7BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7BFA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7BFA#FFFFFF#000000##000000
##7F7BFA1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8FFE
Deuteranopia (green-blind)
#3186F7
Tritanopia (blue-blind)
#5097AF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7f7bfa;
/* rgb */ color: rgb(127, 123, 250);
/* oklch */ color: oklch(64.8% 0.184 281.4);
Tailwind
colors: {
  custom: {
    50: '#aba1fd',
    500: '#7f7bfa',
    950: '#000000',
  },
}
SCSS
$custom: #7f7bfa;
$custom-light: #aba1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7bfa",
  "rgb": {
    "r": 127,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 241.89,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.64845,
    "c": 0.18386,
    "h": 281.4
  },
  "luminance": 0.2558
}

Semantic roles & 50–950 ramp

primary
#7F7BFA
secondary
#F5F6D5
accent
#E600DE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #7F7BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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