#A762FD#A762FD

#A762FD is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.7% C 0.222 H 300.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A762FD
RGBrgb(167, 98, 253)
HSLhsl(267, 97%, 69%)
HSVhsv(267, 61%, 99%)
CMYKcmyk(34%, 61.3%, 0%, 0.8%)
CIE-LABlab(56.13, 57.53, -67.11)
CIE-LCHlch(56.13, 88.40, 310.60°)
OKLaboklab(64.66% 0.1138 -0.1906)
OKLCHoklch(64.66% 0.222 300.8)
XYZxyz(38.0294, 24.0425, 95.5466)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762FD #B8FD62
analogous
#626BFD #A762FD #F562FD
triadic
#A762FD #FDA762 #62FDA7
tetradic
#A762FD #FD626B #B8FD62 #62FDF5
square
#A762FD #FD626B #B8FD62 #62FDF5
split-complementary
#A762FD #FDF562 #6BFD62
monochromatic
#6603E2 #8526FC #A762FD #C99EFE #EBDBFF

Accessibility & contrast

On white

3.62
#A762FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#A762FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A762FD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A762FD#FFFFFF#000000##000000
##A762FD1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#2A86FA
Tritanopia (blue-blind)
#9583A7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a762fd;
/* rgb */ color: rgb(167, 98, 253);
/* oklch */ color: oklch(64.7% 0.222 300.8);
Tailwind
colors: {
  custom: {
    50: '#c692ff',
    500: '#a762fd',
    950: '#000000',
  },
}
SCSS
$custom: #a762fd;
$custom-light: #c692ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a762fd",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 266.71,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.64659,
    "c": 0.22195,
    "h": 300.8
  },
  "luminance": 0.24043
}

Semantic roles & 50–950 ramp

primary
#A762FD
secondary
#E0F4C6
accent
#E6007F
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A762FD

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

Preview Lab → · Contrast checker → · Palette generator →

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