#7F74EA#7F74EA

#7F74EA is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.6% C 0.172 H 284.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7F74EA
RGBrgb(127, 116, 234)
HSLhsl(246, 74%, 69%)
HSVhsv(246, 50%, 92%)
CMYKcmyk(45.7%, 50.4%, 0%, 8.2%)
CIE-LABlab(55.01, 33.76, -58.55)
CIE-LCHlch(55.01, 67.58, 299.97°)
OKLaboklab(62.57% 0.0431 -0.1665)
OKLCHoklch(62.57% 0.172 284.5)
XYZxyz(29.8447, 22.9420, 80.6816)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F74EA #DFEA74
analogous
#74A4EA #7F74EA #BA74EA
triadic
#7F74EA #EA7F74 #74EA7F
tetradic
#7F74EA #EA74A4 #DFEA74 #74EABA
square
#7F74EA #EA74A4 #DFEA74 #74EABA
split-complementary
#7F74EA #EABA74 #A4EA74
monochromatic
#2E1EC6 #4E3FE2 #7F74EA #B0A9F2 #E1DEFA

Accessibility & contrast

On white

3.76
#7F74EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#7F74EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F74EA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F74EA#FFFFFF#000000##000000
##7F74EA1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E87EE
Deuteranopia (green-blind)
#3980E7
Tritanopia (blue-blind)
#5C8DA4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7f74ea;
/* rgb */ color: rgb(127, 116, 234);
/* oklch */ color: oklch(62.6% 0.172 284.5);
Tailwind
colors: {
  custom: {
    50: '#aa9cf1',
    500: '#7f74ea',
    950: '#000000',
  },
}
SCSS
$custom: #7f74ea;
$custom-light: #aa9cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f74ea",
  "rgb": {
    "r": 127,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 245.593,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62573,
    "c": 0.172,
    "h": 284.5
  },
  "luminance": 0.22943
}

Semantic roles & 50–950 ramp

primary
#7F74EA
secondary
#EBEFCB
accent
#D610C3
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7F74EA

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

Preview Lab → · Contrast checker → · Palette generator →

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