#A268CD#A268CD

#A268CD is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.1% C 0.157 H 309.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A268CD
RGBrgb(162, 104, 205)
HSLhsl(274, 50%, 61%)
HSVhsv(274, 49%, 80%)
CMYKcmyk(21%, 49.3%, 0%, 19.6%)
CIE-LABlab(54.02, 41.89, -43.58)
CIE-LCHlch(54.02, 60.45, 313.87°)
OKLaboklab(62.09% 0.0988 -0.1218)
OKLCHoklch(62.09% 0.157 309)
XYZxyz(30.8679, 21.9902, 60.3642)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A268CD #93CD68
analogous
#6F68CD #A268CD #CD68C6
triadic
#A268CD #CDA268 #68CDA2
tetradic
#A268CD #CD6F68 #93CD68 #68C6CD
square
#A268CD #CD6F68 #93CD68 #68C6CD
split-complementary
#A268CD #C6CD68 #68CD6F
monochromatic
#642E8C #853EBA #A268CD #BE96DC #DBC4EB

Accessibility & contrast

On white

3.89
#A268CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#A268CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A268CD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A268CD#FFFFFF#000000##000000
##A268CD1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7FD1
Deuteranopia (green-blind)
#5E82CA
Tritanopia (blue-blind)
#9C7991
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a268cd;
/* rgb */ color: rgb(162, 104, 205);
/* oklch */ color: oklch(62.1% 0.157 309.0);
Tailwind
colors: {
  custom: {
    50: '#c095dd',
    500: '#a268cd',
    950: '#000000',
  },
}
SCSS
$custom: #a268cd;
$custom-light: #c095dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a268cd",
  "rgb": {
    "r": 162,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 274.455,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62093,
    "c": 0.15683,
    "h": 309
  },
  "luminance": 0.2199
}

Semantic roles & 50–950 ramp

primary
#A268CD
secondary
#C6DCB5
accent
#BE2868
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A268CD

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

Preview Lab → · Contrast checker → · Palette generator →

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