#A268FF#A268FF

#A268FF is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.1% C 0.215 H 297.8°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A268FF
RGBrgb(162, 104, 255)
HSLhsl(263, 100%, 70%)
HSVhsv(263, 59%, 100%)
CMYKcmyk(36.5%, 59.2%, 0%, 0%)
CIE-LABlab(56.88, 53.86, -67.03)
CIE-LCHlch(56.88, 85.99, 308.78°)
OKLaboklab(65.13% 0.1006 -0.1905)
OKLCHoklch(65.13% 0.215 297.8)
XYZxyz(37.8961, 24.8015, 97.3790)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A268FF #C5FF68
analogous
#687AFF #A268FF #ED68FF
triadic
#A268FF #FFA268 #68FFA2
tetradic
#A268FF #FF687A #C5FF68 #68FFED
square
#A268FF #FF687A #C5FF68 #68FFED
split-complementary
#A268FF #FFED68 #7AFF68
monochromatic
#5B00ED #7C2BFF #A268FF #C8A5FF #ECE0FF

Accessibility & contrast

On white

3.52
#A268FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#A268FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A268FF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A268FF#FFFFFF#000000##000000
##A268FF1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#2B87FC
Tritanopia (blue-blind)
#8C88AA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a268ff;
/* rgb */ color: rgb(162, 104, 255);
/* oklch */ color: oklch(65.1% 0.215 297.8);
Tailwind
colors: {
  custom: {
    50: '#c395ff',
    500: '#a268ff',
    950: '#000000',
  },
}
SCSS
$custom: #a268ff;
$custom-light: #c395ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a268ff",
  "rgb": {
    "r": 162,
    "g": 104,
    "b": 255
  },
  "hsl": {
    "h": 263.046,
    "s": 100,
    "l": 70.392
  },
  "oklch": {
    "l": 0.65125,
    "c": 0.21542,
    "h": 297.8
  },
  "luminance": 0.24802
}

Semantic roles & 50–950 ramp

primary
#A268FF
secondary
#E6F6CD
accent
#E6008D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A268FF

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

Preview Lab → · Contrast checker → · Palette generator →

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