#A268EA#A268EA

#A268EA is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.8% C 0.191 H 301.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#A268EA
RGBrgb(162, 104, 234)
HSLhsl(267, 76%, 66%)
HSVhsv(267, 56%, 92%)
CMYKcmyk(30.8%, 55.6%, 0%, 8.2%)
CIE-LABlab(55.61, 48.70, -57.42)
CIE-LCHlch(55.61, 75.29, 310.31°)
OKLaboklab(63.78% 0.1007 -0.1622)
OKLCHoklch(63.78% 0.191 301.8)
XYZxyz(34.6985, 23.5224, 80.5382)
Luminance0.2352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A268EA #B0EA68
analogous
#686FEA #A268EA #E368EA
triadic
#A268EA #EAA268 #68EAA2
tetradic
#A268EA #EA686F #B0EA68 #68EAE3
square
#A268EA #EA686F #B0EA68 #68EAE3
split-complementary
#A268EA #EAE368 #6FEA68
monochromatic
#631ABD #8132E3 #A268EA #C39EF1 #E4D3F9

Accessibility & contrast

On white

3.68
#A268EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#A268EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A268EA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A268EA#FFFFFF#000000##000000
##A268EA1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3284EE
Deuteranopia (green-blind)
#4885E7
Tritanopia (blue-blind)
#94829F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a268ea;
/* rgb */ color: rgb(162, 104, 234);
/* oklch */ color: oklch(63.8% 0.191 301.8);
Tailwind
colors: {
  custom: {
    50: '#c195f1',
    500: '#a268ea',
    950: '#000000',
  },
}
SCSS
$custom: #a268ea;
$custom-light: #c195f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a268ea",
  "rgb": {
    "r": 162,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 266.769,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63783,
    "c": 0.19096,
    "h": 301.8
  },
  "luminance": 0.23523
}

Semantic roles & 50–950 ramp

primary
#A268EA
secondary
#D9ECC2
accent
#D80E7E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A268EA

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

Preview Lab → · Contrast checker → · Palette generator →

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