#A682F9#A682F9

#A682F9 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.2% C 0.171 H 295.5°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#A682F9
RGBrgb(166, 130, 249)
HSLhsl(258, 91%, 74%)
HSVhsv(258, 48%, 98%)
CMYKcmyk(33.3%, 47.8%, 0%, 2.4%)
CIE-LABlab(62.43, 39.11, -54.82)
CIE-LCHlch(62.43, 67.34, 305.51°)
OKLaboklab(69.21% 0.0738 -0.1545)
OKLCHoklch(69.21% 0.171 295.5)
XYZxyz(40.8031, 30.9112, 93.4209)
Luminance0.3091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A682F9 #D5F982
analogous
#829AF9 #A682F9 #E182F9
triadic
#A682F9 #F9A682 #82F9A6
tetradic
#A682F9 #F9829A #D5F982 #82F9E1
square
#A682F9 #F9829A #D5F982 #82F9E1
split-complementary
#A682F9 #F9E182 #9AF982
monochromatic
#530DF3 #7C48F6 #A682F9 #D0BCFC #EAE2FE

Accessibility & contrast

On white

2.92
#A682F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#A682F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A682F9
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A682F9#FFFFFF#000000##000000
##A682F91.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FD
Deuteranopia (green-blind)
#6095F6
Tritanopia (blue-blind)
#9399B2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a682f9;
/* rgb */ color: rgb(166, 130, 249);
/* oklch */ color: oklch(69.2% 0.171 295.5);
Tailwind
colors: {
  custom: {
    50: '#c4a7fc',
    500: '#a682f9',
    950: '#000000',
  },
}
SCSS
$custom: #a682f9;
$custom-light: #c4a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a682f9",
  "rgb": {
    "r": 166,
    "g": 130,
    "b": 249
  },
  "hsl": {
    "h": 258.151,
    "s": 90.84,
    "l": 74.314
  },
  "oklch": {
    "l": 0.69209,
    "c": 0.17127,
    "h": 295.5
  },
  "luminance": 0.30912
}

Semantic roles & 50–950 ramp

primary
#A682F9
secondary
#ECF6D5
accent
#E600A0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A682F9

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

Preview Lab → · Contrast checker → · Palette generator →

#A682F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva