#8272EC#8272EC

#8272EC is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.6% C 0.177 H 286.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8272EC
RGBrgb(130, 114, 236)
HSLhsl(248, 76%, 69%)
HSVhsv(248, 52%, 93%)
CMYKcmyk(44.9%, 51.7%, 0%, 7.5%)
CIE-LABlab(54.90, 36.17, -59.83)
CIE-LCHlch(54.90, 69.91, 301.16°)
OKLaboklab(62.59% 0.0491 -0.1702)
OKLCHoklch(62.59% 0.177 286.1)
XYZxyz(30.3592, 22.8353, 82.1486)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8272EC #DCEC72
analogous
#729FEC #8272EC #BF72EC
triadic
#8272EC #EC8272 #72EC82
tetradic
#8272EC #EC729F #DCEC72 #72ECBF
square
#8272EC #EC729F #DCEC72 #72ECBF
split-complementary
#8272EC #ECBF72 #9FEC72
monochromatic
#321BC9 #523CE5 #8272EC #B2A8F3 #E2DEFB

Accessibility & contrast

On white

3.77
#8272EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#8272EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8272EC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8272EC#FFFFFF#000000##000000
##8272EC1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F0
Deuteranopia (green-blind)
#3580E9
Tritanopia (blue-blind)
#608CA4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8272ec;
/* rgb */ color: rgb(130, 114, 236);
/* oklch */ color: oklch(62.6% 0.177 286.1);
Tailwind
colors: {
  custom: {
    50: '#ac9bf3',
    500: '#8272ec',
    950: '#000000',
  },
}
SCSS
$custom: #8272ec;
$custom-light: #ac9bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8272ec",
  "rgb": {
    "r": 130,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 247.869,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62589,
    "c": 0.17716,
    "h": 286.1
  },
  "luminance": 0.22837
}

Semantic roles & 50–950 ramp

primary
#8272EC
secondary
#EAEFCB
accent
#D80DBE
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8272EC

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

Preview Lab → · Contrast checker → · Palette generator →

#8272EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva