#8074F8#8074F8

#8074F8 is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.6% C 0.190 H 283.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8074F8
RGBrgb(128, 116, 248)
HSLhsl(245, 90%, 71%)
HSVhsv(245, 53%, 97%)
CMYKcmyk(48.4%, 53.2%, 0%, 2.7%)
CIE-LABlab(55.94, 38.05, -64.83)
CIE-LCHlch(55.94, 75.17, 300.41°)
OKLaboklab(63.56% 0.045 -0.185)
OKLCHoklch(63.56% 0.19 283.7)
XYZxyz(32.0857, 23.8557, 91.7027)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8074F8 #ECF874
analogous
#74AAF8 #8074F8 #C274F8
triadic
#8074F8 #F88074 #74F880
tetradic
#8074F8 #F874AA #ECF874 #74F8C2
square
#8074F8 #F874AA #ECF874 #74F8C2
split-complementary
#8074F8 #F8C274 #AAF874
monochromatic
#1F0CE6 #4B3AF5 #8074F8 #B5AEFB #E4E2FE

Accessibility & contrast

On white

3.64
#8074F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8074F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8074F8
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8074F8#FFFFFF#000000##000000
##8074F81.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8AFD
Deuteranopia (green-blind)
#2282F5
Tritanopia (blue-blind)
#5591AB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8074f8;
/* rgb */ color: rgb(128, 116, 248);
/* oklch */ color: oklch(63.6% 0.190 283.7);
Tailwind
colors: {
  custom: {
    50: '#ac9cfb',
    500: '#8074f8',
    950: '#000000',
  },
}
SCSS
$custom: #8074f8;
$custom-light: #ac9cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8074f8",
  "rgb": {
    "r": 128,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 245.455,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.63561,
    "c": 0.19039,
    "h": 283.7
  },
  "luminance": 0.23857
}

Semantic roles & 50–950 ramp

primary
#8074F8
secondary
#F2F5D3
accent
#E600D1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8074F8

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

Preview Lab → · Contrast checker → · Palette generator →

#8074F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva