#A268ED#A268ED

#A268ED is a light, vivid violet. Relative luminance 0.237; OKLCH L 64.0% C 0.194 H 301.2°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A268ED
RGBrgb(162, 104, 237)
HSLhsl(266, 79%, 67%)
HSVhsv(266, 56%, 93%)
CMYKcmyk(31.6%, 56.1%, 0%, 7.1%)
CIE-LABlab(55.78, 49.43, -58.81)
CIE-LCHlch(55.78, 76.82, 310.05°)
OKLaboklab(63.97% 0.1008 -0.1663)
OKLCHoklch(63.97% 0.194 301.2)
XYZxyz(35.1331, 23.6963, 82.8273)
Luminance0.2370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A268ED #B3ED68
analogous
#6871ED #A268ED #E468ED
triadic
#A268ED #EDA268 #68EDA2
tetradic
#A268ED #ED6871 #B3ED68 #68EDE4
square
#A268ED #ED6871 #B3ED68 #68EDE4
split-complementary
#A268ED #EDE468 #71ED68
monochromatic
#6217C3 #8031E6 #A268ED #C49FF4 #E5D5FA

Accessibility & contrast

On white

3.66
#A268ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#A268ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A268ED
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A268ED#FFFFFF#000000##000000
##A268ED1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E85F1
Deuteranopia (green-blind)
#4585EA
Tritanopia (blue-blind)
#9383A1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a268ed;
/* rgb */ color: rgb(162, 104, 237);
/* oklch */ color: oklch(64.0% 0.194 301.2);
Tailwind
colors: {
  custom: {
    50: '#c195f3',
    500: '#a268ed',
    950: '#000000',
  },
}
SCSS
$custom: #a268ed;
$custom-light: #c195f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a268ed",
  "rgb": {
    "r": 162,
    "g": 104,
    "b": 237
  },
  "hsl": {
    "h": 266.165,
    "s": 78.698,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63969,
    "c": 0.19448,
    "h": 301.2
  },
  "luminance": 0.23696
}

Semantic roles & 50–950 ramp

primary
#A268ED
secondary
#DBEEC3
accent
#DB0B80
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A268ED

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

Preview Lab → · Contrast checker → · Palette generator →

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