#8270F8#8270F8

#8270F8 is a light, vivid blue. Relative luminance 0.231; OKLCH L 63.0% C 0.196 H 285.4°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8270F8
RGBrgb(130, 112, 248)
HSLhsl(248, 91%, 71%)
HSVhsv(248, 55%, 97%)
CMYKcmyk(47.6%, 54.8%, 0%, 2.7%)
CIE-LABlab(55.19, 40.78, -66.05)
CIE-LCHlch(55.19, 77.62, 301.69°)
OKLaboklab(63.04% 0.0518 -0.1885)
OKLCHoklch(63.04% 0.196 285.4)
XYZxyz(31.9384, 23.1100, 91.5665)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8270F8 #E6F870
analogous
#70A2F8 #8270F8 #C670F8
triadic
#8270F8 #F88270 #70F882
tetradic
#8270F8 #F870A2 #E6F870 #70F8C6
square
#8270F8 #F870A2 #E6F870 #70F8C6
split-complementary
#8270F8 #F8C670 #A2F870
monochromatic
#280BE3 #4F36F5 #8270F8 #B5AAFB #E5E2FE

Accessibility & contrast

On white

3.74
#8270F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8270F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8270F8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8270F8#FFFFFF#000000##000000
##8270F81.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D88FD
Deuteranopia (green-blind)
#1580F5
Tritanopia (blue-blind)
#598EA9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8270f8;
/* rgb */ color: rgb(130, 112, 248);
/* oklch */ color: oklch(63.0% 0.196 285.4);
Tailwind
colors: {
  custom: {
    50: '#ae99fb',
    500: '#8270f8',
    950: '#000000',
  },
}
SCSS
$custom: #8270f8;
$custom-light: #ae99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8270f8",
  "rgb": {
    "r": 130,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 247.941,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.63037,
    "c": 0.1955,
    "h": 285.4
  },
  "luminance": 0.23111
}

Semantic roles & 50–950 ramp

primary
#8270F8
secondary
#EFF4CF
accent
#E600C7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8270F8

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

Preview Lab → · Contrast checker → · Palette generator →

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