#A262F7#A262F7

#A262F7 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.7% C 0.214 H 300.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#A262F7
RGBrgb(162, 98, 247)
HSLhsl(266, 90%, 68%)
HSVhsv(266, 60%, 97%)
CMYKcmyk(34.4%, 60.3%, 0%, 3.1%)
CIE-LABlab(55.21, 55.01, -65.30)
CIE-LCHlch(55.21, 85.38, 310.11°)
OKLaboklab(63.75% 0.1077 -0.1854)
OKLCHoklch(63.75% 0.214 300.2)
XYZxyz(36.0524, 23.1319, 90.5432)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262F7 #B7F762
analogous
#626CF7 #A262F7 #ED62F7
triadic
#A262F7 #F7A262 #62F7A2
tetradic
#A262F7 #F7626C #B7F762 #62F7ED
square
#A262F7 #F7626C #B7F762 #62F7ED
split-complementary
#A262F7 #F7ED62 #6CF762
monochromatic
#610BD4 #8028F4 #A262F7 #C49CFA #E7D6FD

Accessibility & contrast

On white

3.73
#A262F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#A262F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262F7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262F7#FFFFFF#000000##000000
##A262F71.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FC
Deuteranopia (green-blind)
#2D83F4
Tritanopia (blue-blind)
#9082A4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a262f7;
/* rgb */ color: rgb(162, 98, 247);
/* oklch */ color: oklch(63.7% 0.214 300.2);
Tailwind
colors: {
  custom: {
    50: '#c291fb',
    500: '#a262f7',
    950: '#000000',
  },
}
SCSS
$custom: #a262f7;
$custom-light: #c291fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a262f7",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 247
  },
  "hsl": {
    "h": 265.772,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63745,
    "c": 0.2144,
    "h": 300.2
  },
  "luminance": 0.23132
}

Semantic roles & 50–950 ramp

primary
#A262F7
secondary
#DEF2C3
accent
#E60083
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A262F7

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

Preview Lab → · Contrast checker → · Palette generator →

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