#8262F5#8262F5

#8262F5 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.6% C 0.210 H 288.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8262F5
RGBrgb(130, 98, 245)
HSLhsl(253, 88%, 67%)
HSVhsv(253, 60%, 96%)
CMYKcmyk(46.9%, 60%, 0%, 3.9%)
CIE-LABlab(51.92, 47.87, -69.66)
CIE-LCHlch(51.92, 84.52, 304.50°)
OKLaboklab(60.57% 0.0668 -0.1992)
OKLCHoklch(60.57% 0.21 288.5)
XYZxyz(30.0503, 20.0725, 88.6595)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262F5 #D5F562
analogous
#628CF5 #8262F5 #CB62F5
triadic
#8262F5 #F58262 #62F582
tetradic
#8262F5 #F5628C #D5F562 #62F5CB
square
#8262F5 #F5628C #D5F562 #62F5CB
split-complementary
#8262F5 #F5CB62 #8CF562
monochromatic
#370DCF #5428F1 #8262F5 #B09CF9 #DED5FC

Accessibility & contrast

On white

4.19
#8262F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8262F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8262F5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262F5#FFFFFF#000000##000000
##8262F51.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFA
Deuteranopia (green-blind)
#0078F2
Tritanopia (blue-blind)
#5C84A2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8262f5;
/* rgb */ color: rgb(130, 98, 245);
/* oklch */ color: oklch(60.6% 0.210 288.5);
Tailwind
colors: {
  custom: {
    50: '#ae90f9',
    500: '#8262f5',
    950: '#000000',
  },
}
SCSS
$custom: #8262f5;
$custom-light: #ae90f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8262f5",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 253.061,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60569,
    "c": 0.21008,
    "h": 288.5
  },
  "luminance": 0.20074
}

Semantic roles & 50–950 ramp

primary
#8262F5
secondary
#E6F1C2
accent
#E501B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D17
muted
#807D85

Preview Lab

Preview with #8262F5

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

Preview Lab → · Contrast checker → · Palette generator →

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