#7F7DFF#7F7DFF

#7F7DFF is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.5% C 0.188 H 280.6°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7F7DFF
RGBrgb(127, 125, 255)
HSLhsl(241, 100%, 75%)
HSVhsv(241, 51%, 100%)
CMYKcmyk(50.2%, 51%, 0%, 0%)
CIE-LABlab(58.41, 34.65, -64.73)
CIE-LCHlch(58.41, 73.42, 298.16°)
OKLaboklab(65.53% 0.0345 -0.1846)
OKLCHoklch(65.53% 0.188 280.6)
XYZxyz(34.1305, 26.3973, 97.8851)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7DFF #FDFF7D
analogous
#7DBCFF #7F7DFF #C07DFF
triadic
#7F7DFF #FF7F7D #7DFF7F
tetradic
#7F7DFF #FF7DBC #FDFF7D #7DFFC0
square
#7F7DFF #FF7DBC #FDFF7D #7DFFC0
split-complementary
#7F7DFF #FFC07D #BCFF7D
monochromatic
#0603FF #4340FF #7F7DFF #BBBAFF #E1E0FF

Accessibility & contrast

On white

3.34
#7F7DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#7F7DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7DFF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7DFF#FFFFFF#000000##000000
##7F7DFF1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B91FF
Deuteranopia (green-blind)
#2D88FC
Tritanopia (blue-blind)
#4C9AB2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7f7dff;
/* rgb */ color: rgb(127, 125, 255);
/* oklch */ color: oklch(65.5% 0.188 280.6);
Tailwind
colors: {
  custom: {
    50: '#aca2ff',
    500: '#7f7dff',
    950: '#000000',
  },
}
SCSS
$custom: #7f7dff;
$custom-light: #aca2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7dff",
  "rgb": {
    "r": 127,
    "g": 125,
    "b": 255
  },
  "hsl": {
    "h": 240.923,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.65525,
    "c": 0.18784,
    "h": 280.6
  },
  "luminance": 0.26399
}

Semantic roles & 50–950 ramp

primary
#7F7DFF
secondary
#F7F7D4
accent
#E600E2
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #7F7DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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