#7F74E1#7F74E1

#7F74E1 is a light, vivid blue. Relative luminance 0.224; OKLCH L 62.0% C 0.160 H 285.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7F74E1
RGBrgb(127, 116, 225)
HSLhsl(246, 64%, 67%)
HSVhsv(246, 48%, 88%)
CMYKcmyk(43.6%, 48.4%, 0%, 11.8%)
CIE-LABlab(54.49, 31.16, -54.34)
CIE-LCHlch(54.49, 62.64, 299.83°)
OKLaboklab(62.01% 0.0423 -0.1542)
OKLCHoklch(62.01% 0.16 285.3)
XYZxyz(28.5845, 22.4379, 74.0444)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F74E1 #D6E174
analogous
#74A0E1 #7F74E1 #B674E1
triadic
#7F74E1 #E17F74 #74E17F
tetradic
#7F74E1 #E174A0 #D6E174 #74E1B6
square
#7F74E1 #E174A0 #D6E174 #74E1B6
split-complementary
#7F74E1 #E1B674 #A0E174
monochromatic
#3527B4 #5142D6 #7F74E1 #ADA6EC #DCD9F7

Accessibility & contrast

On white

3.83
#7F74E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#7F74E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F74E1
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F74E1#FFFFFF#000000##000000
##7F74E11.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4685E5
Deuteranopia (green-blind)
#437FDF
Tritanopia (blue-blind)
#618BA0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7f74e1;
/* rgb */ color: rgb(127, 116, 225);
/* oklch */ color: oklch(62.0% 0.160 285.3);
Tailwind
colors: {
  custom: {
    50: '#a99ceb',
    500: '#7f74e1',
    950: '#000000',
  },
}
SCSS
$custom: #7f74e1;
$custom-light: #a99ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f74e1",
  "rgb": {
    "r": 127,
    "g": 116,
    "b": 225
  },
  "hsl": {
    "h": 246.055,
    "s": 64.497,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62011,
    "c": 0.15989,
    "h": 285.3
  },
  "luminance": 0.22439
}

Semantic roles & 50–950 ramp

primary
#7F74E1
secondary
#E6EAC7
accent
#CC19BA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7F74E1

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

Preview Lab → · Contrast checker → · Palette generator →

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