#7F95F2#7F95F2

#7F95F2 is a light, vivid blue. Relative luminance 0.324; OKLCH L 69.3% C 0.139 H 272.3°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7F95F2
RGBrgb(127, 149, 242)
HSLhsl(229, 82%, 72%)
HSVhsv(229, 48%, 95%)
CMYKcmyk(47.5%, 38.4%, 0%, 5.1%)
CIE-LABlab(63.68, 16.69, -49.17)
CIE-LCHlch(63.68, 51.92, 288.74°)
OKLaboklab(69.3% 0.0055 -0.1389)
OKLCHoklch(69.3% 0.139 272.3)
XYZxyz(35.5218, 32.4156, 88.3723)
Luminance0.3242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F95F2 #F2DC7F
analogous
#7FCEF2 #7F95F2 #A37FF2
triadic
#7F95F2 #F27F95 #95F27F
tetradic
#7F95F2 #F27FCE #F2DC7F #7FF2A3
square
#7F95F2 #F27FCE #F2DC7F #7FF2A3
split-complementary
#7F95F2 #F2A37F #CEF27F
monochromatic
#173DE0 #4767EC #7F95F2 #B7C3F8 #E3E8FC

Accessibility & contrast

On white

2.81
#7F95F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#7F95F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F95F2
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F95F2#FFFFFF#000000##000000
##7F95F21.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#729FF6
Deuteranopia (green-blind)
#6696F0
Tritanopia (blue-blind)
#52A9B8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7f95f2;
/* rgb */ color: rgb(127, 149, 242);
/* oklch */ color: oklch(69.3% 0.139 272.3);
Tailwind
colors: {
  custom: {
    50: '#aab3f7',
    500: '#7f95f2',
    950: '#000000',
  },
}
SCSS
$custom: #7f95f2;
$custom-light: #aab3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f95f2",
  "rgb": {
    "r": 127,
    "g": 149,
    "b": 242
  },
  "hsl": {
    "h": 228.522,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69301,
    "c": 0.13899,
    "h": 272.3
  },
  "luminance": 0.32418
}

Semantic roles & 50–950 ramp

primary
#7F95F2
secondary
#F4EED7
accent
#B508DE
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7F95F2

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

Preview Lab → · Contrast checker → · Palette generator →

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