#7F7BED#7F7BED

#7F7BED is a light, vivid blue. Relative luminance 0.248; OKLCH L 64.0% C 0.166 H 282.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7F7BED
RGBrgb(127, 123, 237)
HSLhsl(242, 76%, 71%)
HSVhsv(242, 48%, 93%)
CMYKcmyk(46.4%, 48.1%, 0%, 7.1%)
CIE-LABlab(56.87, 30.51, -57.24)
CIE-LCHlch(56.87, 64.86, 298.05°)
OKLaboklab(64.03% 0.0352 -0.1627)
OKLCHoklch(64.03% 0.166 282.2)
XYZxyz(31.1168, 24.7909, 83.2499)
Luminance0.2479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7BED #E9ED7B
analogous
#7BB0ED #7F7BED #B87BED
triadic
#7F7BED #ED7F7B #7BED7F
tetradic
#7F7BED #ED7BB0 #E9ED7B #7BEDB8
square
#7F7BED #ED7BB0 #E9ED7B #7BEDB8
split-complementary
#7F7BED #EDB87B #B0ED7B
monochromatic
#231DD1 #4B45E6 #7F7BED #B3B1F4 #E5E4FB

Accessibility & contrast

On white

3.52
#7F7BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#7F7BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7BED
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7BED#FFFFFF#000000##000000
##7F7BED1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#498CF1
Deuteranopia (green-blind)
#4385EA
Tritanopia (blue-blind)
#5993A9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7f7bed;
/* rgb */ color: rgb(127, 123, 237);
/* oklch */ color: oklch(64.0% 0.166 282.2);
Tailwind
colors: {
  custom: {
    50: '#aaa1f3',
    500: '#7f7bed',
    950: '#000000',
  },
}
SCSS
$custom: #7f7bed;
$custom-light: #aaa1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7bed",
  "rgb": {
    "r": 127,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 242.105,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64025,
    "c": 0.16643,
    "h": 282.2
  },
  "luminance": 0.24792
}

Semantic roles & 50–950 ramp

primary
#7F7BED
secondary
#F0F1D2
accent
#D80DD1
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #7F7BED

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

Preview Lab → · Contrast checker → · Palette generator →

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