#7F7FD3#7F7FD3

#7F7FD3 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.3% C 0.125 H 282.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7F7FD3
RGBrgb(127, 127, 211)
HSLhsl(240, 49%, 66%)
HSVhsv(240, 40%, 83%)
CMYKcmyk(39.8%, 39.8%, 0%, 17.3%)
CIE-LABlab(56.48, 20.66, -43.30)
CIE-LCHlch(56.48, 47.98, 295.51°)
OKLaboklab(63.28% 0.0264 -0.1219)
OKLCHoklch(63.28% 0.125 282.2)
XYZxyz(28.0963, 24.3928, 64.8433)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7FD3 #D3D37F
analogous
#7FA9D3 #7F7FD3 #A97FD3
triadic
#7F7FD3 #D37F7F #7FD37F
tetradic
#7F7FD3 #D37FA9 #D3D37F #7FD3A9
square
#7F7FD3 #D37FA9 #D3D37F #7FD3A9
split-complementary
#7F7FD3 #D3A97F #A9D37F
monochromatic
#3737A0 #5151C3 #7F7FD3 #ADADE3 #DADAF2

Accessibility & contrast

On white

3.57
#7F7FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#7F7FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7FD3
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7FD3#FFFFFF#000000##000000
##7F7FD31.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#628AD6
Deuteranopia (green-blind)
#5E85D1
Tritanopia (blue-blind)
#66909F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7f7fd3;
/* rgb */ color: rgb(127, 127, 211);
/* oklch */ color: oklch(63.3% 0.125 282.2);
Tailwind
colors: {
  custom: {
    50: '#a7a4e1',
    500: '#7f7fd3',
    950: '#000000',
  },
}
SCSS
$custom: #7f7fd3;
$custom-light: #a7a4e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7fd3",
  "rgb": {
    "r": 127,
    "g": 127,
    "b": 211
  },
  "hsl": {
    "h": 240,
    "s": 48.837,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63277,
    "c": 0.1247,
    "h": 282.2
  },
  "luminance": 0.24394
}

Semantic roles & 50–950 ramp

primary
#7F7FD3
secondary
#E5E5C9
accent
#BC29BC
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #7F7FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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