#7F85E7#7F85E7

#7F85E7 is a light, vivid blue. Relative luminance 0.271; OKLCH L 65.6% C 0.145 H 279.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7F85E7
RGBrgb(127, 133, 231)
HSLhsl(237, 68%, 70%)
HSVhsv(237, 45%, 91%)
CMYKcmyk(45%, 42.4%, 0%, 9.4%)
CIE-LABlab(59.03, 22.85, -50.47)
CIE-LCHlch(59.03, 55.40, 294.36°)
OKLaboklab(65.55% 0.0225 -0.1428)
OKLCHoklch(65.55% 0.145 279)
XYZxyz(31.5594, 27.0550, 79.1450)
Luminance0.2706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F85E7 #E7E17F
analogous
#7FB9E7 #7F85E7 #AD7FE7
triadic
#7F85E7 #E77F85 #85E77F
tetradic
#7F85E7 #E77FB9 #E7E17F #7FE7AD
square
#7F85E7 #E77FB9 #E7E17F #7FE7AD
split-complementary
#7F85E7 #E7AD7F #B9E77F
monochromatic
#252FC6 #4B54DD #7F85E7 #B3B6F1 #E5E6FA

Accessibility & contrast

On white

3.28
#7F85E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#7F85E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F85E7
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F85E7#FFFFFF#000000##000000
##7F85E71.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F92EB
Deuteranopia (green-blind)
#588AE5
Tritanopia (blue-blind)
#5B99AB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7f85e7;
/* rgb */ color: rgb(127, 133, 231);
/* oklch */ color: oklch(65.6% 0.145 279.0);
Tailwind
colors: {
  custom: {
    50: '#a9a8ef',
    500: '#7f85e7',
    950: '#000000',
  },
}
SCSS
$custom: #7f85e7;
$custom-light: #a9a8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7f85e7",
  "rgb": {
    "r": 127,
    "g": 133,
    "b": 231
  },
  "hsl": {
    "h": 236.538,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65552,
    "c": 0.14454,
    "h": 279
  },
  "luminance": 0.27057
}

Semantic roles & 50–950 ramp

primary
#7F85E7
secondary
#EFEED2
accent
#C615D0
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7F85E7

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

Preview Lab → · Contrast checker → · Palette generator →

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