#7F7BEE#7F7BEE

#7F7BEE is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.1% C 0.168 H 282.1°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7F7BEE
RGBrgb(127, 123, 238)
HSLhsl(242, 77%, 71%)
HSVhsv(242, 48%, 93%)
CMYKcmyk(46.6%, 48.3%, 0%, 6.7%)
CIE-LABlab(56.93, 30.80, -57.71)
CIE-LCHlch(56.93, 65.41, 298.09°)
OKLaboklab(64.09% 0.0353 -0.164)
OKLCHoklch(64.09% 0.168 282.1)
XYZxyz(31.2634, 24.8495, 84.0215)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7BEE #EAEE7B
analogous
#7BB0EE #7F7BEE #B87BEE
triadic
#7F7BEE #EE7F7B #7BEE7F
tetradic
#7F7BEE #EE7BB0 #EAEE7B #7BEEB8
square
#7F7BEE #EE7BB0 #EAEE7B #7BEEB8
split-complementary
#7F7BEE #EEB87B #B0EE7B
monochromatic
#221BD3 #4A45E7 #7F7BEE #B4B1F5 #E5E4FC

Accessibility & contrast

On white

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

On black

5.97
#7F7BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7BEE
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7BEE#FFFFFF#000000##000000
##7F7BEE1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#488DF2
Deuteranopia (green-blind)
#4185EB
Tritanopia (blue-blind)
#5893A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7f7bee;
/* rgb */ color: rgb(127, 123, 238);
/* oklch */ color: oklch(64.1% 0.168 282.1);
Tailwind
colors: {
  custom: {
    50: '#aaa1f4',
    500: '#7f7bee',
    950: '#000000',
  },
}
SCSS
$custom: #7f7bee;
$custom-light: #aaa1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7bee",
  "rgb": {
    "r": 127,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 242.087,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64087,
    "c": 0.16778,
    "h": 282.1
  },
  "luminance": 0.24851
}

Semantic roles & 50–950 ramp

primary
#7F7BEE
secondary
#F1F2D3
accent
#D90CD2
background
#FAF9FF
surface
#F5F2FE
border
#CFCCD6
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #7F7BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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