#7F7AFA#7F7AFA

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

Color values

HEX#7F7AFA
RGBrgb(127, 122, 250)
HSLhsl(242, 93%, 73%)
HSVhsv(242, 51%, 98%)
CMYKcmyk(49.2%, 51.2%, 0%, 2%)
CIE-LABlab(57.40, 34.92, -63.60)
CIE-LCHlch(57.40, 72.56, 298.77°)
OKLaboklab(64.67% 0.0374 -0.1814)
OKLCHoklch(64.67% 0.185 281.6)
XYZxyz(32.9620, 25.3314, 93.5766)
Luminance0.2533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7AFA #F5FA7A
analogous
#7AB5FA #7F7AFA #BF7AFA
triadic
#7F7AFA #FA7F7A #7AFA7F
tetradic
#7F7AFA #FA7AB5 #F5FA7A #7AFABF
square
#7F7AFA #FA7AB5 #F5FA7A #7AFABF
split-complementary
#7F7AFA #FABF7A #B5FA7A
monochromatic
#1209F1 #463FF8 #7F7AFA #B8B5FC #E3E2FE

Accessibility & contrast

On white

3.46
#7F7AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#7F7AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7AFA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7AFA#FFFFFF#000000##000000
##7F7AFA1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#398EFE
Deuteranopia (green-blind)
#2E85F7
Tritanopia (blue-blind)
#5096AF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7f7afa;
/* rgb */ color: rgb(127, 122, 250);
/* oklch */ color: oklch(64.7% 0.185 281.6);
Tailwind
colors: {
  custom: {
    50: '#aca0fd',
    500: '#7f7afa',
    950: '#000000',
  },
}
SCSS
$custom: #7f7afa;
$custom-light: #aca0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7afa",
  "rgb": {
    "r": 127,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 242.344,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.64667,
    "c": 0.18518,
    "h": 281.6
  },
  "luminance": 0.25333
}

Semantic roles & 50–950 ramp

primary
#7F7AFA
secondary
#F5F6D5
accent
#E600DD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7F7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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