#8072F5#8072F5

#8072F5 is a light, vivid blue. Relative luminance 0.232; OKLCH L 63.0% C 0.189 H 284.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8072F5
RGBrgb(128, 114, 245)
HSLhsl(246, 87%, 70%)
HSVhsv(246, 53%, 96%)
CMYKcmyk(47.8%, 53.5%, 0%, 3.9%)
CIE-LABlab(55.29, 38.34, -64.22)
CIE-LCHlch(55.29, 74.79, 300.84°)
OKLaboklab(63.02% 0.0471 -0.1832)
OKLCHoklch(63.02% 0.189 284.4)
XYZxyz(31.3959, 23.2149, 89.1951)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8072F5 #E7F572
analogous
#72A5F5 #8072F5 #C172F5
triadic
#8072F5 #F58072 #72F580
tetradic
#8072F5 #F572A5 #E7F572 #72F5C1
square
#8072F5 #F572A5 #E7F572 #72F5C1
split-complementary
#8072F5 #F5C172 #A5F572
monochromatic
#2610DD #4D39F1 #8072F5 #B3ABF9 #E5E2FD

Accessibility & contrast

On white

3.72
#8072F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8072F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8072F5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8072F5#FFFFFF#000000##000000
##8072F51.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A88FA
Deuteranopia (green-blind)
#2280F2
Tritanopia (blue-blind)
#578FA9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8072f5;
/* rgb */ color: rgb(128, 114, 245);
/* oklch */ color: oklch(63.0% 0.189 284.4);
Tailwind
colors: {
  custom: {
    50: '#ac9bf9',
    500: '#8072f5',
    950: '#000000',
  },
}
SCSS
$custom: #8072f5;
$custom-light: #ac9bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8072f5",
  "rgb": {
    "r": 128,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 246.412,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.63017,
    "c": 0.18915,
    "h": 284.4
  },
  "luminance": 0.23216
}

Semantic roles & 50–950 ramp

primary
#8072F5
secondary
#F0F3CF
accent
#E302CB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8072F5

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

Preview Lab → · Contrast checker → · Palette generator →

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