#7F7BFD#7F7BFD

#7F7BFD is a light, vivid blue. Relative luminance 0.258; OKLCH L 65.0% C 0.188 H 281.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7F7BFD
RGBrgb(127, 123, 253)
HSLhsl(242, 97%, 74%)
HSVhsv(242, 51%, 99%)
CMYKcmyk(49.8%, 51.4%, 0%, 0.8%)
CIE-LABlab(57.82, 35.22, -64.59)
CIE-LCHlch(57.82, 73.57, 298.61°)
OKLaboklab(65.04% 0.0365 -0.1842)
OKLCHoklch(65.04% 0.188 281.2)
XYZxyz(33.5596, 25.7679, 96.1148)
Luminance0.2577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7BFD #F9FD7B
analogous
#7BB8FD #7F7BFD #C07BFD
triadic
#7F7BFD #FD7F7B #7BFD7F
tetradic
#7F7BFD #FD7BB8 #F9FD7B #7BFDC0
square
#7F7BFD #FD7BB8 #F9FD7B #7BFDC0
split-complementary
#7F7BFD #FDC07B #B8FD7B
monochromatic
#0B04FA #453FFC #7F7BFD #B9B7FE #E2E1FF

Accessibility & contrast

On white

3.41
#7F7BFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#7F7BFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7BFD
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7BFD#FFFFFF#000000##000000
##7F7BFD1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3890FF
Deuteranopia (green-blind)
#2B86FA
Tritanopia (blue-blind)
#4E98B0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7f7bfd;
/* rgb */ color: rgb(127, 123, 253);
/* oklch */ color: oklch(65.0% 0.188 281.2);
Tailwind
colors: {
  custom: {
    50: '#aca1ff',
    500: '#7f7bfd',
    950: '#000000',
  },
}
SCSS
$custom: #7f7bfd;
$custom-light: #aca1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7bfd",
  "rgb": {
    "r": 127,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 241.846,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.65039,
    "c": 0.18782,
    "h": 281.2
  },
  "luminance": 0.2577
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F7BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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