#8262F1#8262F1

#8262F1 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.3% C 0.205 H 289.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8262F1
RGBrgb(130, 98, 241)
HSLhsl(253, 84%, 66%)
HSVhsv(253, 59%, 95%)
CMYKcmyk(46.1%, 59.3%, 0%, 5.5%)
CIE-LABlab(51.65, 46.75, -67.87)
CIE-LCHlch(51.65, 82.41, 304.56°)
OKLaboklab(60.28% 0.0669 -0.1939)
OKLCHoklch(60.28% 0.205 289)
XYZxyz(29.4463, 19.8309, 85.4783)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262F1 #D1F162
analogous
#628AF1 #8262F1 #CA62F1
triadic
#8262F1 #F18262 #62F182
tetradic
#8262F1 #F1628A #D1F162 #62F1CA
square
#8262F1 #F1628A #D1F162 #62F1CA
split-complementary
#8262F1 #F1CA62 #8AF162
monochromatic
#3A12C7 #552AEC #8262F1 #AF9AF6 #DBD2FB

Accessibility & contrast

On white

4.23
#8262F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8262F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8262F1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262F1#FFFFFF#000000##000000
##8262F11.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF6
Deuteranopia (green-blind)
#0078EE
Tritanopia (blue-blind)
#5F83A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8262f1;
/* rgb */ color: rgb(130, 98, 241);
/* oklch */ color: oklch(60.3% 0.205 289.0);
Tailwind
colors: {
  custom: {
    50: '#ae90f6',
    500: '#8262f1',
    950: '#000000',
  },
}
SCSS
$custom: #8262f1;
$custom-light: #ae90f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8262f1",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 241
  },
  "hsl": {
    "h": 253.427,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60282,
    "c": 0.20515,
    "h": 289
  },
  "luminance": 0.19832
}

Semantic roles & 50–950 ramp

primary
#8262F1
secondary
#E4EFC0
accent
#E005AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8262F1

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

Preview Lab → · Contrast checker → · Palette generator →

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