#7F74FB#7F74FB

#7F74FB is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.7% C 0.194 H 283.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7F74FB
RGBrgb(127, 116, 251)
HSLhsl(245, 94%, 72%)
HSVhsv(245, 54%, 98%)
CMYKcmyk(49.4%, 53.8%, 0%, 1.6%)
CIE-LABlab(56.05, 38.72, -66.32)
CIE-LCHlch(56.05, 76.80, 300.28°)
OKLaboklab(63.68% 0.0439 -0.1894)
OKLCHoklch(63.68% 0.194 283.1)
XYZxyz(32.4051, 23.9661, 94.1665)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F74FB #F0FB74
analogous
#74ADFB #7F74FB #C374FB
triadic
#7F74FB #FB7F74 #74FB7F
tetradic
#7F74FB #FB74AD #F0FB74 #74FBC3
square
#7F74FB #FB74AD #F0FB74 #74FBC3
split-complementary
#7F74FB #FBC374 #ADFB74
monochromatic
#1A07EE #4839F9 #7F74FB #B6AFFD #E4E1FE

Accessibility & contrast

On white

3.62
#7F74FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#7F74FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F74FB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F74FB#FFFFFF#000000##000000
##7F74FB1.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#258BFF
Deuteranopia (green-blind)
#1782F8
Tritanopia (blue-blind)
#5092AC
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7f74fb;
/* rgb */ color: rgb(127, 116, 251);
/* oklch */ color: oklch(63.7% 0.194 283.1);
Tailwind
colors: {
  custom: {
    50: '#ac9cfd',
    500: '#7f74fb',
    950: '#000000',
  },
}
SCSS
$custom: #7f74fb;
$custom-light: #ac9cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f74fb",
  "rgb": {
    "r": 127,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 244.889,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.63684,
    "c": 0.19441,
    "h": 283.1
  },
  "luminance": 0.23968
}

Semantic roles & 50–950 ramp

primary
#7F74FB
secondary
#F4F6D4
accent
#E600D3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7F74FB

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

Preview Lab → · Contrast checker → · Palette generator →

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