#8262FA#8262FA

#8262FA is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 60.9% C 0.216 H 287.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8262FA
RGBrgb(130, 98, 250)
HSLhsl(253, 94%, 68%)
HSVhsv(253, 61%, 98%)
CMYKcmyk(48%, 60.8%, 0%, 2%)
CIE-LABlab(52.27, 49.27, -71.88)
CIE-LCHlch(52.27, 87.14, 304.43°)
OKLaboklab(60.93% 0.0665 -0.2057)
OKLCHoklch(60.93% 0.216 287.9)
XYZxyz(30.8239, 20.3820, 92.7339)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262FA #DAFA62
analogous
#628EFA #8262FA #CE62FA
triadic
#8262FA #FA8262 #62FA82
tetradic
#8262FA #FA628E #DAFA62 #62FACE
square
#8262FA #FA628E #DAFA62 #62FACE
split-complementary
#8262FA #FACE62 #8EFA62
monochromatic
#3407DB #5327F8 #8262FA #B19DFC #E0D9FE

Accessibility & contrast

On white

4.14
#8262FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8262FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8262FA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262FA#FFFFFF#000000##000000
##8262FA1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0079F7
Tritanopia (blue-blind)
#5986A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8262fa;
/* rgb */ color: rgb(130, 98, 250);
/* oklch */ color: oklch(60.9% 0.216 287.9);
Tailwind
colors: {
  custom: {
    50: '#af90fd',
    500: '#8262fa',
    950: '#000000',
  },
}
SCSS
$custom: #8262fa;
$custom-light: #af90fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8262fa",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 250
  },
  "hsl": {
    "h": 252.632,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60932,
    "c": 0.21619,
    "h": 287.9
  },
  "luminance": 0.20383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8262FA

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

Preview Lab → · Contrast checker → · Palette generator →

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