#7F76DA#7F76DA

#7F76DA is a mid, vivid blue. Relative luminance 0.225; OKLCH L 62.0% C 0.147 H 285.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7F76DA
RGBrgb(127, 118, 218)
HSLhsl(245, 57%, 66%)
HSVhsv(245, 46%, 85%)
CMYKcmyk(41.7%, 45.9%, 0%, 14.5%)
CIE-LABlab(54.58, 27.98, -50.25)
CIE-LCHlch(54.58, 57.52, 299.11°)
OKLaboklab(61.96% 0.039 -0.1422)
OKLCHoklch(61.96% 0.147 285.3)
XYZxyz(27.8821, 22.5298, 69.1957)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F76DA #D1DA76
analogous
#769FDA #7F76DA #B176DA
triadic
#7F76DA #DA7F76 #76DA7F
tetradic
#7F76DA #DA769F #D1DA76 #76DAB1
square
#7F76DA #DA769F #D1DA76 #76DAB1
split-complementary
#7F76DA #DAB176 #9FDA76
monochromatic
#382DA8 #5246CD #7F76DA #ACA6E7 #D9D6F4

Accessibility & contrast

On white

3.81
#7F76DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#7F76DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F76DA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F76DA#FFFFFF#000000##000000
##7F76DA1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5085DE
Deuteranopia (green-blind)
#4D80D8
Tritanopia (blue-blind)
#648A9D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7f76da;
/* rgb */ color: rgb(127, 118, 218);
/* oklch */ color: oklch(62.0% 0.147 285.3);
Tailwind
colors: {
  custom: {
    50: '#a89de6',
    500: '#7f76da',
    950: '#000000',
  },
}
SCSS
$custom: #7f76da;
$custom-light: #a89de6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f76da",
  "rgb": {
    "r": 127,
    "g": 118,
    "b": 218
  },
  "hsl": {
    "h": 245.4,
    "s": 57.471,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61957,
    "c": 0.14744,
    "h": 285.3
  },
  "luminance": 0.22531
}

Semantic roles & 50–950 ramp

primary
#7F76DA
secondary
#E3E6C5
accent
#C520B6
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7F76DA

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

Preview Lab → · Contrast checker → · Palette generator →

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