#8262F7#8262F7

#8262F7 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.7% C 0.213 H 288.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8262F7
RGBrgb(130, 98, 247)
HSLhsl(253, 90%, 68%)
HSVhsv(253, 60%, 97%)
CMYKcmyk(47.4%, 60.3%, 0%, 3.1%)
CIE-LABlab(52.06, 48.43, -70.55)
CIE-LCHlch(52.06, 85.57, 304.47°)
OKLaboklab(60.71% 0.0666 -0.2018)
OKLCHoklch(60.71% 0.213 288.3)
XYZxyz(30.3573, 20.1953, 90.2762)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262F7 #D7F762
analogous
#628CF7 #8262F7 #CD62F7
triadic
#8262F7 #F78262 #62F782
tetradic
#8262F7 #F7628C #D7F762 #62F7CD
square
#8262F7 #F7628C #D7F762 #62F7CD
split-complementary
#8262F7 #F7CD62 #8CF762
monochromatic
#360BD4 #5428F4 #8262F7 #B09CFA #DFD6FD

Accessibility & contrast

On white

4.17
#8262F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8262F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8262F7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262F7#FFFFFF#000000##000000
##8262F71.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFC
Deuteranopia (green-blind)
#0078F4
Tritanopia (blue-blind)
#5B85A3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8262f7;
/* rgb */ color: rgb(130, 98, 247);
/* oklch */ color: oklch(60.7% 0.213 288.3);
Tailwind
colors: {
  custom: {
    50: '#ae90fb',
    500: '#8262f7',
    950: '#000000',
  },
}
SCSS
$custom: #8262f7;
$custom-light: #ae90fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8262f7",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 247
  },
  "hsl": {
    "h": 252.886,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60714,
    "c": 0.21253,
    "h": 288.3
  },
  "luminance": 0.20197
}

Semantic roles & 50–950 ramp

primary
#8262F7
secondary
#E8F2C3
accent
#E600B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D17
muted
#807D85

Preview Lab

Preview with #8262F7

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

Preview Lab → · Contrast checker → · Palette generator →

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