#8262DF#8262DF

#8262DF is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.0% C 0.183 H 291.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8262DF
RGBrgb(130, 98, 223)
HSLhsl(255, 66%, 63%)
HSVhsv(255, 56%, 87%)
CMYKcmyk(41.7%, 56.1%, 0%, 12.5%)
CIE-LABlab(50.46, 41.76, -59.66)
CIE-LCHlch(50.46, 72.82, 304.99°)
OKLaboklab(59.04% 0.0673 -0.1698)
OKLCHoklch(59.04% 0.183 291.6)
XYZxyz(26.8892, 18.8081, 72.0113)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262DF #BFDF62
analogous
#6280DF #8262DF #C062DF
triadic
#8262DF #DF8262 #62DF82
tetradic
#8262DF #DF6280 #BFDF62 #62DFC0
square
#8262DF #DF6280 #BFDF62 #62DFC0
split-complementary
#8262DF #DFC062 #80DF62
monochromatic
#4322A5 #5A2FD5 #8262DF #AA95E9 #D3C8F4

Accessibility & contrast

On white

4.41
#8262DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8262DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8262DF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262DF#FFFFFF#000000##000000
##8262DF1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7AE3
Deuteranopia (green-blind)
#2576DC
Tritanopia (blue-blind)
#687D97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8262df;
/* rgb */ color: rgb(130, 98, 223);
/* oklch */ color: oklch(59.0% 0.183 291.6);
Tailwind
colors: {
  custom: {
    50: '#ac90ea',
    500: '#8262df',
    950: '#000000',
  },
}
SCSS
$custom: #8262df;
$custom-light: #ac90ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8262df",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 255.36,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59036,
    "c": 0.18262,
    "h": 291.6
  },
  "luminance": 0.18809
}

Semantic roles & 50–950 ramp

primary
#8262DF
secondary
#D9E5B8
accent
#CE179F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8262DF

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

Preview Lab → · Contrast checker → · Palette generator →

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