#8262F8#8262F8

#8262F8 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 60.8% C 0.214 H 288.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8262F8
RGBrgb(130, 98, 248)
HSLhsl(253, 91%, 68%)
HSVhsv(253, 60%, 97%)
CMYKcmyk(47.6%, 60.5%, 0%, 2.7%)
CIE-LABlab(52.13, 48.71, -70.99)
CIE-LCHlch(52.13, 86.10, 304.45°)
OKLaboklab(60.79% 0.0666 -0.2031)
OKLCHoklch(60.79% 0.214 288.1)
XYZxyz(30.5120, 20.2572, 91.0911)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262F8 #D8F862
analogous
#628DF8 #8262F8 #CD62F8
triadic
#8262F8 #F88262 #62F882
tetradic
#8262F8 #F8628D #D8F862 #62F8CD
square
#8262F8 #F8628D #D8F862 #62F8CD
split-complementary
#8262F8 #F8CD62 #8DF862
monochromatic
#350AD6 #5327F5 #8262F8 #B19DFB #DFD7FD

Accessibility & contrast

On white

4.16
#8262F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8262F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8262F8
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262F8#FFFFFF#000000##000000
##8262F81.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FD
Deuteranopia (green-blind)
#0078F5
Tritanopia (blue-blind)
#5A85A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8262f8;
/* rgb */ color: rgb(130, 98, 248);
/* oklch */ color: oklch(60.8% 0.214 288.1);
Tailwind
colors: {
  custom: {
    50: '#ae90fb',
    500: '#8262f8',
    950: '#000000',
  },
}
SCSS
$custom: #8262f8;
$custom-light: #ae90fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8262f8",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 252.8,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60786,
    "c": 0.21374,
    "h": 288.1
  },
  "luminance": 0.20259
}

Semantic roles & 50–950 ramp

primary
#8262F8
secondary
#E8F2C4
accent
#E600B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D18
muted
#807D86

Preview Lab

Preview with #8262F8

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

Preview Lab → · Contrast checker → · Palette generator →

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