#7F74F5#7F74F5

#7F74F5 is a light, vivid blue. Relative luminance 0.236; OKLCH L 63.3% C 0.187 H 283.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7F74F5
RGBrgb(127, 116, 245)
HSLhsl(245, 87%, 71%)
HSVhsv(245, 53%, 96%)
CMYKcmyk(48.2%, 52.7%, 0%, 3.9%)
CIE-LABlab(55.68, 36.96, -63.60)
CIE-LCHlch(55.68, 73.56, 300.16°)
OKLaboklab(63.29% 0.0437 -0.1814)
OKLCHoklch(63.29% 0.187 283.5)
XYZxyz(31.4743, 23.5938, 89.2641)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F74F5 #EAF574
analogous
#74A9F5 #7F74F5 #BF74F5
triadic
#7F74F5 #F57F74 #74F57F
tetradic
#7F74F5 #F574A9 #EAF574 #74F5BF
square
#7F74F5 #F574A9 #EAF574 #74F5BF
split-complementary
#7F74F5 #F5BF74 #A9F574
monochromatic
#2210DF #4A3BF1 #7F74F5 #B4ADF9 #E5E2FD

Accessibility & contrast

On white

3.67
#7F74F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#7F74F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F74F5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F74F5#FFFFFF#000000##000000
##7F74F51.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#308AF9
Deuteranopia (green-blind)
#2781F2
Tritanopia (blue-blind)
#5590A9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7f74f5;
/* rgb */ color: rgb(127, 116, 245);
/* oklch */ color: oklch(63.3% 0.187 283.5);
Tailwind
colors: {
  custom: {
    50: '#ab9cf9',
    500: '#7f74f5',
    950: '#000000',
  },
}
SCSS
$custom: #7f74f5;
$custom-light: #ab9cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f74f5",
  "rgb": {
    "r": 127,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 245.116,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.63285,
    "c": 0.18658,
    "h": 283.5
  },
  "luminance": 0.23595
}

Semantic roles & 50–950 ramp

primary
#7F74F5
secondary
#F1F4D1
accent
#E302D0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7F74F5

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

Preview Lab → · Contrast checker → · Palette generator →

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