#7F74EB#7F74EB

#7F74EB is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.6% C 0.173 H 284.4°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7F74EB
RGBrgb(127, 116, 235)
HSLhsl(246, 75%, 69%)
HSVhsv(246, 51%, 92%)
CMYKcmyk(46%, 50.6%, 0%, 7.8%)
CIE-LABlab(55.07, 34.05, -59.01)
CIE-LCHlch(55.07, 68.13, 299.98°)
OKLaboklab(62.64% 0.0431 -0.1679)
OKLCHoklch(62.64% 0.173 284.4)
XYZxyz(29.9888, 22.9996, 81.4404)
Luminance0.2300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F74EB #E0EB74
analogous
#74A5EB #7F74EB #BB74EB
triadic
#7F74EB #EB7F74 #74EB7F
tetradic
#7F74EB #EB74A5 #E0EB74 #74EBBB
square
#7F74EB #EB74A5 #E0EB74 #74EBBB
split-complementary
#7F74EB #EBBB74 #A5EB74
monochromatic
#2D1DC8 #4E3EE3 #7F74EB #B0AAF3 #E2DFFA

Accessibility & contrast

On white

3.75
#7F74EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#7F74EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F74EB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F74EB#FFFFFF#000000##000000
##7F74EB1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D87EF
Deuteranopia (green-blind)
#3880E8
Tritanopia (blue-blind)
#5B8EA5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7f74eb;
/* rgb */ color: rgb(127, 116, 235);
/* oklch */ color: oklch(62.6% 0.173 284.4);
Tailwind
colors: {
  custom: {
    50: '#aa9cf2',
    500: '#7f74eb',
    950: '#000000',
  },
}
SCSS
$custom: #7f74eb;
$custom-light: #aa9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f74eb",
  "rgb": {
    "r": 127,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 245.546,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.62637,
    "c": 0.17334,
    "h": 284.4
  },
  "luminance": 0.23001
}

Semantic roles & 50–950 ramp

primary
#7F74EB
secondary
#ECEFCC
accent
#D70FC4
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7F74EB

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

Preview Lab → · Contrast checker → · Palette generator →

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