#A268EF#A268EF

#A268EF is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.1% C 0.197 H 300.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A268EF
RGBrgb(162, 104, 239)
HSLhsl(266, 81%, 67%)
HSVhsv(266, 56%, 94%)
CMYKcmyk(32.2%, 56.5%, 0%, 6.3%)
CIE-LABlab(55.90, 49.92, -59.73)
CIE-LCHlch(55.90, 77.85, 309.88°)
OKLaboklab(64.09% 0.1008 -0.169)
OKLCHoklch(64.09% 0.197 300.8)
XYZxyz(35.4269, 23.8138, 84.3747)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A268EF #B5EF68
analogous
#6872EF #A268EF #E668EF
triadic
#A268EF #EFA268 #68EFA2
tetradic
#A268EF #EF6872 #B5EF68 #68EFE6
square
#A268EF #EF6872 #B5EF68 #68EFE6
split-complementary
#A268EF #EFE668 #72EF68
monochromatic
#6215C7 #8031E9 #A268EF #C49FF5 #E6D7FB

Accessibility & contrast

On white

3.64
#A268EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#A268EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A268EF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A268EF#FFFFFF#000000##000000
##A268EF1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B85F3
Deuteranopia (green-blind)
#4285EC
Tritanopia (blue-blind)
#9283A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a268ef;
/* rgb */ color: rgb(162, 104, 239);
/* oklch */ color: oklch(64.1% 0.197 300.8);
Tailwind
colors: {
  custom: {
    50: '#c295f5',
    500: '#a268ef',
    950: '#000000',
  },
}
SCSS
$custom: #a268ef;
$custom-light: #c295f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a268ef",
  "rgb": {
    "r": 162,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 265.778,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64094,
    "c": 0.19681,
    "h": 300.8
  },
  "luminance": 0.23814
}

Semantic roles & 50–950 ramp

primary
#A268EF
secondary
#DCEFC4
accent
#DD0882
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A268EF

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

Preview Lab → · Contrast checker → · Palette generator →

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