#A268DB#A268DB

#A268DB is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.9% C 0.173 H 305.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A268DB
RGBrgb(162, 104, 219)
HSLhsl(270, 61%, 63%)
HSVhsv(270, 53%, 86%)
CMYKcmyk(26%, 52.5%, 0%, 14.1%)
CIE-LABlab(54.76, 45.12, -50.34)
CIE-LCHlch(54.76, 67.61, 311.87°)
OKLaboklab(62.88% 0.1 -0.1415)
OKLCHoklch(62.88% 0.173 305.3)
XYZxyz(32.6341, 22.6967, 69.6658)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A268DB #A1DB68
analogous
#6868DB #A268DB #DB68DA
triadic
#A268DB #DBA268 #68DBA2
tetradic
#A268DB #DB6868 #A1DB68 #68DADB
square
#A268DB #DB6868 #A1DB68 #68DADB
split-complementary
#A268DB #DADB68 #68DB68
monochromatic
#6527A2 #8437CF #A268DB #C099E7 #DFCBF3

Accessibility & contrast

On white

3.79
#A268DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#A268DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A268DB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A268DB#FFFFFF#000000##000000
##A268DB1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4381DF
Deuteranopia (green-blind)
#5583D8
Tritanopia (blue-blind)
#997D98
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a268db;
/* rgb */ color: rgb(162, 104, 219);
/* oklch */ color: oklch(62.9% 0.173 305.3);
Tailwind
colors: {
  custom: {
    50: '#c095e7',
    500: '#a268db',
    950: '#000000',
  },
}
SCSS
$custom: #a268db;
$custom-light: #c095e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a268db",
  "rgb": {
    "r": 162,
    "g": 104,
    "b": 219
  },
  "hsl": {
    "h": 270.261,
    "s": 61.497,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62884,
    "c": 0.17331,
    "h": 305.3
  },
  "luminance": 0.22696
}

Semantic roles & 50–950 ramp

primary
#A268DB
secondary
#CFE4BB
accent
#C91C72
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A268DB

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

Preview Lab → · Contrast checker → · Palette generator →

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