#8A79FC#8A79FC

#8A79FC is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.5% C 0.188 H 285.9°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8A79FC
RGBrgb(138, 121, 252)
HSLhsl(248, 96%, 73%)
HSVhsv(248, 52%, 99%)
CMYKcmyk(45.2%, 52%, 0%, 1.2%)
CIE-LABlab(58.14, 38.43, -63.47)
CIE-LCHlch(58.14, 74.20, 301.19°)
OKLaboklab(65.47% 0.0515 -0.1807)
OKLCHoklch(65.47% 0.188 285.9)
XYZxyz(34.8842, 26.1048, 95.2773)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79FC #EBFC79
analogous
#79A9FC #8A79FC #CB79FC
triadic
#8A79FC #FC8A79 #79FC8A
tetradic
#8A79FC #FC79A9 #EBFC79 #79FCCB
square
#8A79FC #FC79A9 #EBFC79 #79FCCB
split-complementary
#8A79FC #FCCB79 #A9FC79
monochromatic
#2505F5 #563DFB #8A79FC #BEB5FD #E5E1FE

Accessibility & contrast

On white

3.38
#8A79FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#8A79FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79FC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79FC#FFFFFF#000000##000000
##8A79FC1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#398FFF
Deuteranopia (green-blind)
#3588F9
Tritanopia (blue-blind)
#6595AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a79fc;
/* rgb */ color: rgb(138, 121, 252);
/* oklch */ color: oklch(65.5% 0.188 285.9);
Tailwind
colors: {
  custom: {
    50: '#b2a0fe',
    500: '#8a79fc',
    950: '#000000',
  },
}
SCSS
$custom: #8a79fc;
$custom-light: #b2a0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79fc",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 247.786,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.6547,
    "c": 0.18789,
    "h": 285.9
  },
  "luminance": 0.26106
}

Semantic roles & 50–950 ramp

primary
#8A79FC
secondary
#F2F7D4
accent
#E600C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8A79FC

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

Preview Lab → · Contrast checker → · Palette generator →

#8A79FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva