#A268EC#A268EC

#A268EC is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.9% C 0.193 H 301.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A268EC
RGBrgb(162, 104, 236)
HSLhsl(266, 78%, 67%)
HSVhsv(266, 56%, 93%)
CMYKcmyk(31.4%, 55.9%, 0%, 7.5%)
CIE-LABlab(55.72, 49.19, -58.35)
CIE-LCHlch(55.72, 76.31, 310.13°)
OKLaboklab(63.91% 0.1008 -0.165)
OKLCHoklch(63.91% 0.193 301.4)
XYZxyz(34.9874, 23.6380, 82.0600)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A268EC #B2EC68
analogous
#6870EC #A268EC #E468EC
triadic
#A268EC #ECA268 #68ECA2
tetradic
#A268EC #EC6870 #B2EC68 #68ECE4
square
#A268EC #EC6870 #B2EC68 #68ECE4
split-complementary
#A268EC #ECE468 #70EC68
monochromatic
#6318C1 #8132E5 #A268EC #C39EF3 #E5D5FA

Accessibility & contrast

On white

3.67
#A268EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#A268EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A268EC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A268EC#FFFFFF#000000##000000
##A268EC1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F85F0
Deuteranopia (green-blind)
#4685E9
Tritanopia (blue-blind)
#9382A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a268ec;
/* rgb */ color: rgb(162, 104, 236);
/* oklch */ color: oklch(63.9% 0.193 301.4);
Tailwind
colors: {
  custom: {
    50: '#c195f3',
    500: '#a268ec',
    950: '#000000',
  },
}
SCSS
$custom: #a268ec;
$custom-light: #c195f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a268ec",
  "rgb": {
    "r": 162,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 266.364,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63907,
    "c": 0.19331,
    "h": 301.4
  },
  "luminance": 0.23638
}

Semantic roles & 50–950 ramp

primary
#A268EC
secondary
#DAEDC3
accent
#DA0C7F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A268EC

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

Preview Lab → · Contrast checker → · Palette generator →

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