#A762F2#A762F2

#A762F2 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 63.9% C 0.210 H 303.0°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#A762F2
RGBrgb(167, 98, 242)
HSLhsl(269, 85%, 67%)
HSVhsv(269, 60%, 95%)
CMYKcmyk(31%, 59.5%, 0%, 5.1%)
CIE-LABlab(55.44, 54.91, -62.11)
CIE-LCHlch(55.44, 82.91, 311.48°)
OKLaboklab(63.94% 0.1142 -0.1759)
OKLCHoklch(63.94% 0.21 303)
XYZxyz(36.3274, 23.3617, 86.5826)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762F2 #ADF262
analogous
#6265F2 #A762F2 #EF62F2
triadic
#A762F2 #F2A762 #62F2A7
tetradic
#A762F2 #F26265 #ADF262 #62F2EF
square
#A762F2 #F26265 #ADF262 #62F2EF
split-complementary
#A762F2 #F2EF62 #65F262
monochromatic
#6911C9 #8729ED #A762F2 #C79BF7 #E6D3FB

Accessibility & contrast

On white

3.70
#A762F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#A762F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A762F2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A762F2#FFFFFF#000000##000000
##A762F21.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1183F7
Deuteranopia (green-blind)
#3C84EF
Tritanopia (blue-blind)
#9980A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a762f2;
/* rgb */ color: rgb(167, 98, 242);
/* oklch */ color: oklch(63.9% 0.210 303.0);
Tailwind
colors: {
  custom: {
    50: '#c592f7',
    500: '#a762f2',
    950: '#000000',
  },
}
SCSS
$custom: #a762f2;
$custom-light: #c592f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a762f2",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 268.75,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63939,
    "c": 0.20971,
    "h": 303
  },
  "luminance": 0.23362
}

Semantic roles & 50–950 ramp

primary
#A762F2
secondary
#D9EFC1
accent
#E10477
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A762F2

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

Preview Lab → · Contrast checker → · Palette generator →

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