#8262CA#8262CA

#8262CA is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.7% C 0.156 H 295.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8262CA
RGBrgb(130, 98, 202)
HSLhsl(258, 50%, 59%)
HSVhsv(258, 51%, 79%)
CMYKcmyk(35.6%, 51.5%, 0%, 20.8%)
CIE-LABlab(49.19, 36.07, -49.75)
CIE-LCHlch(49.19, 61.45, 305.94°)
OKLaboklab(57.68% 0.0665 -0.1407)
OKLCHoklch(57.68% 0.156 295.3)
XYZxyz(24.2315, 17.7450, 58.0141)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262CA #AACA62
analogous
#6276CA #8262CA #B662CA
triadic
#8262CA #CA8262 #62CA82
tetradic
#8262CA #CA6276 #AACA62 #62CAB6
square
#8262CA #CA6276 #AACA62 #62CAB6
split-complementary
#8262CA #CAB662 #76CA62
monochromatic
#482D85 #613CB3 #8262CA #A690D9 #CBBEE9

Accessibility & contrast

On white

4.62
#8262CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8262CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8262CA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262CA#FFFFFF#000000##FFFFFF
##8262CA1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3976CE
Deuteranopia (green-blind)
#4173C8
Tritanopia (blue-blind)
#71778D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8262ca;
/* rgb */ color: rgb(130, 98, 202);
/* oklch */ color: oklch(57.7% 0.156 295.3);
Tailwind
colors: {
  custom: {
    50: '#aa8fdb',
    500: '#8262ca',
    950: '#000000',
  },
}
SCSS
$custom: #8262ca;
$custom-light: #aa8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8262ca",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 258.462,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5768,
    "c": 0.15559,
    "h": 295.3
  },
  "luminance": 0.17745
}

Semantic roles & 50–950 ramp

primary
#8262CA
secondary
#CCD8AF
accent
#D94FAE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8262CA

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

Preview Lab → · Contrast checker → · Palette generator →

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