#8462CA#8462CA

#8462CA is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.9% C 0.156 H 296.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#8462CA
RGBrgb(132, 98, 202)
HSLhsl(260, 50%, 59%)
HSVhsv(260, 51%, 79%)
CMYKcmyk(34.7%, 51.5%, 0%, 20.8%)
CIE-LABlab(49.38, 36.58, -49.43)
CIE-LCHlch(49.38, 61.49, 306.50°)
OKLaboklab(57.87% 0.069 -0.1397)
OKLCHoklch(57.87% 0.156 296.3)
XYZxyz(24.5414, 17.9048, 58.0287)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8462CA #A8CA62
analogous
#6274CA #8462CA #B862CA
triadic
#8462CA #CA8462 #62CA84
tetradic
#8462CA #CA6274 #A8CA62 #62CAB8
square
#8462CA #CA6274 #A8CA62 #62CAB8
split-complementary
#8462CA #CAB862 #74CA62
monochromatic
#4A2D85 #633CB3 #8462CA #A890D9 #CCBEE9

Accessibility & contrast

On white

4.58
#8462CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8462CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8462CA
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8462CA#FFFFFF#000000##000000
##8462CA1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A76CE
Deuteranopia (green-blind)
#4274C8
Tritanopia (blue-blind)
#74768D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8462ca;
/* rgb */ color: rgb(132, 98, 202);
/* oklch */ color: oklch(57.9% 0.156 296.3);
Tailwind
colors: {
  custom: {
    50: '#ab8fdb',
    500: '#8462ca',
    950: '#000000',
  },
}
SCSS
$custom: #8462ca;
$custom-light: #ab8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8462ca",
  "rgb": {
    "r": 132,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 259.615,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57871,
    "c": 0.15579,
    "h": 296.3
  },
  "luminance": 0.17905
}

Semantic roles & 50–950 ramp

primary
#8462CA
secondary
#CBD8AF
accent
#D94FAC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8462CA

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

Preview Lab → · Contrast checker → · Palette generator →

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