#A268FD#A268FD

#A268FD is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.0% C 0.213 H 298.2°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A268FD
RGBrgb(162, 104, 253)
HSLhsl(263, 97%, 70%)
HSVhsv(263, 59%, 99%)
CMYKcmyk(36%, 58.9%, 0%, 0.8%)
CIE-LABlab(56.76, 53.36, -66.13)
CIE-LCHlch(56.76, 84.98, 308.90°)
OKLaboklab(64.99% 0.1006 -0.1878)
OKLCHoklch(64.99% 0.213 298.2)
XYZxyz(37.5758, 24.6734, 95.6922)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A268FD #C3FD68
analogous
#6878FD #A268FD #ED68FD
triadic
#A268FD #FDA268 #68FDA2
tetradic
#A268FD #FD6878 #C3FD68 #68FDED
square
#A268FD #FD6878 #C3FD68 #68FDED
split-complementary
#A268FD #FDED68 #78FD68
monochromatic
#5C03E8 #7D2CFC #A268FD #C7A4FE #ECE1FF

Accessibility & contrast

On white

3.54
#A268FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#A268FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A268FD
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A268FD#FFFFFF#000000##000000
##A268FD1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#2F87FA
Tritanopia (blue-blind)
#8D88A9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a268fd;
/* rgb */ color: rgb(162, 104, 253);
/* oklch */ color: oklch(65.0% 0.213 298.2);
Tailwind
colors: {
  custom: {
    50: '#c395ff',
    500: '#a268fd',
    950: '#000000',
  },
}
SCSS
$custom: #a268fd;
$custom-light: #c395ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a268fd",
  "rgb": {
    "r": 162,
    "g": 104,
    "b": 253
  },
  "hsl": {
    "h": 263.356,
    "s": 97.386,
    "l": 70
  },
  "oklch": {
    "l": 0.64993,
    "c": 0.2131,
    "h": 298.2
  },
  "luminance": 0.24674
}

Semantic roles & 50–950 ramp

primary
#A268FD
secondary
#E5F5CC
accent
#E6008C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A268FD

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

Preview Lab → · Contrast checker → · Palette generator →

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