#A254FF#A254FF

#A254FF is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.5% C 0.241 H 300.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A254FF
RGBrgb(162, 84, 255)
HSLhsl(267, 100%, 66%)
HSVhsv(267, 67%, 100%)
CMYKcmyk(36.5%, 67.1%, 0%, 0%)
CIE-LABlab(53.21, 63.82, -72.97)
CIE-LCHlch(53.21, 96.94, 311.17°)
OKLaboklab(62.47% 0.122 -0.2079)
OKLCHoklch(62.47% 0.241 300.4)
XYZxyz(36.1162, 21.2417, 96.7857)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A254FF #B1FF54
analogous
#545CFF #A254FF #F754FF
triadic
#A254FF #FFA254 #54FFA2
tetradic
#A254FF #FF545C #B1FF54 #54FFF7
square
#A254FF #FF545C #B1FF54 #54FFF7
split-complementary
#A254FF #FFF754 #5CFF54
monochromatic
#6300D9 #8117FF #A254FF #C391FF #E5CEFF

Accessibility & contrast

On white

4.00
#A254FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#A254FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A254FF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A254FF#FFFFFF#000000##000000
##A254FF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#007EFB
Tritanopia (blue-blind)
#8D7CA3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a254ff;
/* rgb */ color: rgb(162, 84, 255);
/* oklch */ color: oklch(62.5% 0.241 300.4);
Tailwind
colors: {
  custom: {
    50: '#c489ff',
    500: '#a254ff',
    950: '#000000',
  },
}
SCSS
$custom: #a254ff;
$custom-light: #c489ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a254ff",
  "rgb": {
    "r": 162,
    "g": 84,
    "b": 255
  },
  "hsl": {
    "h": 267.368,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62474,
    "c": 0.24103,
    "h": 300.4
  },
  "luminance": 0.21242
}

Semantic roles & 50–950 ramp

primary
#A254FF
secondary
#DAF3BC
accent
#E6007D
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #A254FF

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

Preview Lab → · Contrast checker → · Palette generator →

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