#8262DD#8262DD

#8262DD is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.9% C 0.180 H 291.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8262DD
RGBrgb(130, 98, 221)
HSLhsl(256, 64%, 63%)
HSVhsv(256, 56%, 87%)
CMYKcmyk(41.2%, 55.7%, 0%, 13.3%)
CIE-LABlab(50.34, 41.21, -58.73)
CIE-LCHlch(50.34, 71.75, 305.06°)
OKLaboklab(58.9% 0.0672 -0.1671)
OKLCHoklch(58.9% 0.18 291.9)
XYZxyz(26.6212, 18.7009, 70.5996)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262DD #BDDD62
analogous
#627FDD #8262DD #C062DD
triadic
#8262DD #DD8262 #62DD82
tetradic
#8262DD #DD627F #BDDD62 #62DDC0
square
#8262DD #DD627F #BDDD62 #62DDC0
split-complementary
#8262DD #DDC062 #7FDD62
monochromatic
#4423A2 #5A30D2 #8262DD #AA94E8 #D2C7F3

Accessibility & contrast

On white

4.43
#8262DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8262DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8262DD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262DD#FFFFFF#000000##000000
##8262DD1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#207AE1
Deuteranopia (green-blind)
#2975DA
Tritanopia (blue-blind)
#697C96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8262dd;
/* rgb */ color: rgb(130, 98, 221);
/* oklch */ color: oklch(58.9% 0.180 291.9);
Tailwind
colors: {
  custom: {
    50: '#ac8fe8',
    500: '#8262dd',
    950: '#000000',
  },
}
SCSS
$custom: #8262dd;
$custom-light: #ac8fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#8262dd",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 255.61,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58902,
    "c": 0.18008,
    "h": 291.9
  },
  "luminance": 0.18702
}

Semantic roles & 50–950 ramp

primary
#8262DD
secondary
#D8E4B7
accent
#CC199E
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8262DD

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

Preview Lab → · Contrast checker → · Palette generator →

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