#A261F2#A261F2

#A261F2 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.3% C 0.210 H 301.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#A261F2
RGBrgb(162, 97, 242)
HSLhsl(267, 85%, 66%)
HSVhsv(267, 60%, 95%)
CMYKcmyk(33.1%, 59.9%, 0%, 5.1%)
CIE-LABlab(54.70, 54.31, -63.34)
CIE-LCHlch(54.70, 83.43, 310.61°)
OKLaboklab(63.28% 0.109 -0.1796)
OKLCHoklch(63.28% 0.21 301.3)
XYZxyz(35.1982, 22.6414, 86.5030)
Luminance0.2264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A261F2 #B1F261
analogous
#6169F2 #A261F2 #EB61F2
triadic
#A261F2 #F2A261 #61F2A2
tetradic
#A261F2 #F26169 #B1F261 #61F2EB
square
#A261F2 #F26169 #B1F261 #61F2EB
split-complementary
#A261F2 #F2EB61 #69F261
monochromatic
#6310C8 #8128ED #A261F2 #C39AF7 #E5D2FB

Accessibility & contrast

On white

3.80
#A261F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#A261F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A261F2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A261F2#FFFFFF#000000##000000
##A261F21.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#3382EF
Tritanopia (blue-blind)
#927FA1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a261f2;
/* rgb */ color: rgb(162, 97, 242);
/* oklch */ color: oklch(63.3% 0.210 301.3);
Tailwind
colors: {
  custom: {
    50: '#c291f7',
    500: '#a261f2',
    950: '#000000',
  },
}
SCSS
$custom: #a261f2;
$custom-light: #c291f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a261f2",
  "rgb": {
    "r": 162,
    "g": 97,
    "b": 242
  },
  "hsl": {
    "h": 266.897,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63276,
    "c": 0.21012,
    "h": 301.3
  },
  "luminance": 0.22642
}

Semantic roles & 50–950 ramp

primary
#A261F2
secondary
#DAEFC0
accent
#E1047E
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A261F2

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

Preview Lab → · Contrast checker → · Palette generator →

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