#7F74EC#7F74EC

#7F74EC is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.7% C 0.175 H 284.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7F74EC
RGBrgb(127, 116, 236)
HSLhsl(246, 76%, 69%)
HSVhsv(246, 51%, 93%)
CMYKcmyk(46.2%, 50.8%, 0%, 7.5%)
CIE-LABlab(55.13, 34.34, -59.47)
CIE-LCHlch(55.13, 68.67, 300.00°)
OKLaboklab(62.7% 0.0432 -0.1693)
OKLCHoklch(62.7% 0.175 284.3)
XYZxyz(30.1336, 23.0576, 82.2034)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F74EC #E1EC74
analogous
#74A5EC #7F74EC #BB74EC
triadic
#7F74EC #EC7F74 #74EC7F
tetradic
#7F74EC #EC74A5 #E1EC74 #74ECBB
square
#7F74EC #EC74A5 #E1EC74 #74ECBB
split-complementary
#7F74EC #ECBB74 #A5EC74
monochromatic
#2C1CCA #4D3EE5 #7F74EC #B1AAF3 #E2E0FB

Accessibility & contrast

On white

3.74
#7F74EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#7F74EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F74EC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F74EC#FFFFFF#000000##000000
##7F74EC1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F0
Deuteranopia (green-blind)
#3680E9
Tritanopia (blue-blind)
#5A8EA5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7f74ec;
/* rgb */ color: rgb(127, 116, 236);
/* oklch */ color: oklch(62.7% 0.175 284.3);
Tailwind
colors: {
  custom: {
    50: '#aa9cf3',
    500: '#7f74ec',
    950: '#000000',
  },
}
SCSS
$custom: #7f74ec;
$custom-light: #aa9cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f74ec",
  "rgb": {
    "r": 127,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 245.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.627,
    "c": 0.17467,
    "h": 284.3
  },
  "luminance": 0.23059
}

Semantic roles & 50–950 ramp

primary
#7F74EC
secondary
#ECEFCC
accent
#D80DC6
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #7F74EC

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

Preview Lab → · Contrast checker → · Palette generator →

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