#7F7CED#7F7CED

#7F7CED is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.2% C 0.165 H 281.9°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7F7CED
RGBrgb(127, 124, 237)
HSLhsl(242, 76%, 71%)
HSVhsv(242, 48%, 93%)
CMYKcmyk(46.4%, 47.7%, 0%, 7.1%)
CIE-LABlab(57.11, 29.92, -56.85)
CIE-LCHlch(57.11, 64.24, 297.75°)
OKLaboklab(64.21% 0.034 -0.1615)
OKLCHoklch(64.21% 0.165 281.9)
XYZxyz(31.2415, 25.0402, 83.2914)
Luminance0.2504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7CED #EAED7C
analogous
#7CB1ED #7F7CED #B77CED
triadic
#7F7CED #ED7F7C #7CED7F
tetradic
#7F7CED #ED7CB1 #EAED7C #7CEDB7
square
#7F7CED #ED7CB1 #EAED7C #7CEDB7
split-complementary
#7F7CED #EDB77C #B1ED7C
monochromatic
#221DD2 #4A46E6 #7F7CED #B4B2F4 #E5E4FB

Accessibility & contrast

On white

3.50
#7F7CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#7F7CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7CED
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7CED#FFFFFF#000000##000000
##7F7CED1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8DF1
Deuteranopia (green-blind)
#4485EA
Tritanopia (blue-blind)
#5994A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7f7ced;
/* rgb */ color: rgb(127, 124, 237);
/* oklch */ color: oklch(64.2% 0.165 281.9);
Tailwind
colors: {
  custom: {
    50: '#aaa2f3',
    500: '#7f7ced',
    950: '#000000',
  },
}
SCSS
$custom: #7f7ced;
$custom-light: #aaa2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7ced",
  "rgb": {
    "r": 127,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 241.593,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64209,
    "c": 0.16506,
    "h": 281.9
  },
  "luminance": 0.25042
}

Semantic roles & 50–950 ramp

primary
#7F7CED
secondary
#F1F2D3
accent
#D80DD3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #7F7CED

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

Preview Lab → · Contrast checker → · Palette generator →

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