#8262FF#8262FF

#8262FF is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.3% C 0.222 H 287.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8262FF
RGBrgb(130, 98, 255)
HSLhsl(252, 100%, 69%)
HSVhsv(252, 62%, 100%)
CMYKcmyk(49%, 61.6%, 0%, 0%)
CIE-LABlab(52.62, 50.67, -74.08)
CIE-LCHlch(52.62, 89.75, 304.37°)
OKLaboklab(61.3% 0.0661 -0.2122)
OKLCHoklch(61.3% 0.222 287.3)
XYZxyz(31.6183, 20.6997, 96.9178)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262FF #DFFF62
analogous
#6291FF #8262FF #D062FF
triadic
#8262FF #FF8262 #62FF82
tetradic
#8262FF #FF6291 #DFFF62 #62FFD0
square
#8262FF #FF6291 #DFFF62 #62FFD0
split-complementary
#8262FF #FFD062 #91FF62
monochromatic
#2F00E7 #5125FF #8262FF #B39FFF #E3DCFF

Accessibility & contrast

On white

4.09
#8262FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#8262FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8262FF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262FF#FFFFFF#000000##000000
##8262FF1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0079FC
Tritanopia (blue-blind)
#5687A8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8262ff;
/* rgb */ color: rgb(130, 98, 255);
/* oklch */ color: oklch(61.3% 0.222 287.3);
Tailwind
colors: {
  custom: {
    50: '#af90ff',
    500: '#8262ff',
    950: '#000000',
  },
}
SCSS
$custom: #8262ff;
$custom-light: #af90ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8262ff",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 252.229,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61301,
    "c": 0.22225,
    "h": 287.3
  },
  "luminance": 0.20701
}

Semantic roles & 50–950 ramp

primary
#8262FF
secondary
#ECF5C8
accent
#E600B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D18
muted
#807D86

Preview Lab

Preview with #8262FF

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

Preview Lab → · Contrast checker → · Palette generator →

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