#8262F6#8262F6

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

Color values

HEX#8262F6
RGBrgb(130, 98, 246)
HSLhsl(253, 89%, 67%)
HSVhsv(253, 60%, 96%)
CMYKcmyk(47.2%, 60.2%, 0%, 3.5%)
CIE-LABlab(51.99, 48.15, -70.10)
CIE-LCHlch(51.99, 85.05, 304.48°)
OKLaboklab(60.64% 0.0667 -0.2005)
OKLCHoklch(60.64% 0.211 288.4)
XYZxyz(30.2034, 20.1338, 89.4657)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262F6 #D6F662
analogous
#628CF6 #8262F6 #CC62F6
triadic
#8262F6 #F68262 #62F682
tetradic
#8262F6 #F6628C #D6F662 #62F6CC
square
#8262F6 #F6628C #D6F662 #62F6CC
split-complementary
#8262F6 #F6CC62 #8CF662
monochromatic
#370CD2 #5428F3 #8262F6 #B09CF9 #DED6FD

Accessibility & contrast

On white

4.18
#8262F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8262F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8262F6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262F6#FFFFFF#000000##000000
##8262F61.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFB
Deuteranopia (green-blind)
#0078F3
Tritanopia (blue-blind)
#5C84A3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8262f6;
/* rgb */ color: rgb(130, 98, 246);
/* oklch */ color: oklch(60.6% 0.211 288.4);
Tailwind
colors: {
  custom: {
    50: '#ae90fa',
    500: '#8262f6',
    950: '#000000',
  },
}
SCSS
$custom: #8262f6;
$custom-light: #ae90fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8262f6",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 252.973,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60641,
    "c": 0.2113,
    "h": 288.4
  },
  "luminance": 0.20135
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8262F6

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

Preview Lab → · Contrast checker → · Palette generator →

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