#8072F7#8072F7

#8072F7 is a light, vivid blue. Relative luminance 0.233; OKLCH L 63.1% C 0.192 H 284.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8072F7
RGBrgb(128, 114, 247)
HSLhsl(246, 89%, 71%)
HSVhsv(246, 54%, 97%)
CMYKcmyk(48.2%, 53.8%, 0%, 3.1%)
CIE-LABlab(55.42, 38.92, -65.12)
CIE-LCHlch(55.42, 75.87, 300.86°)
OKLaboklab(63.15% 0.0472 -0.1858)
OKLCHoklch(63.15% 0.192 284.2)
XYZxyz(31.7029, 23.3377, 90.8118)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8072F7 #E9F772
analogous
#72A6F7 #8072F7 #C272F7
triadic
#8072F7 #F78072 #72F780
tetradic
#8072F7 #F772A6 #E9F772 #72F7C2
square
#8072F7 #F772A6 #E9F772 #72F7C2
split-complementary
#8072F7 #F7C272 #A6F772
monochromatic
#230DE2 #4C38F4 #8072F7 #B4ACFA #E5E2FD

Accessibility & contrast

On white

3.71
#8072F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8072F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8072F7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8072F7#FFFFFF#000000##000000
##8072F71.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2689FC
Deuteranopia (green-blind)
#1D81F4
Tritanopia (blue-blind)
#5590AA
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8072f7;
/* rgb */ color: rgb(128, 114, 247);
/* oklch */ color: oklch(63.1% 0.192 284.2);
Tailwind
colors: {
  custom: {
    50: '#ac9bfb',
    500: '#8072f7',
    950: '#000000',
  },
}
SCSS
$custom: #8072f7;
$custom-light: #ac9bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8072f7",
  "rgb": {
    "r": 128,
    "g": 114,
    "b": 247
  },
  "hsl": {
    "h": 246.316,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6315,
    "c": 0.19174,
    "h": 284.2
  },
  "luminance": 0.23339
}

Semantic roles & 50–950 ramp

primary
#8072F7
secondary
#F1F4D1
accent
#E600CD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8072F7

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

Preview Lab → · Contrast checker → · Palette generator →

#8072F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva