#A267DF#A267DF

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

Color values

HEX#A267DF
RGBrgb(162, 103, 223)
HSLhsl(270, 65%, 64%)
HSVhsv(270, 54%, 87%)
CMYKcmyk(27.4%, 53.8%, 0%, 12.5%)
CIE-LABlab(54.77, 46.61, -52.58)
CIE-LCHlch(54.77, 70.26, 311.56°)
OKLaboklab(62.97% 0.1016 -0.1481)
OKLCHoklch(62.97% 0.18 304.4)
XYZxyz(33.0669, 22.7097, 72.4391)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A267DF #A4DF67
analogous
#6768DF #A267DF #DE67DF
triadic
#A267DF #DFA267 #67DFA2
tetradic
#A267DF #DF6768 #A4DF67 #67DFDE
square
#A267DF #DF6768 #A4DF67 #67DFDE
split-complementary
#A267DF #DFDE67 #68DF67
monochromatic
#6523A8 #8334D4 #A267DF #C19AEA #E0CCF4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A267DF#FFFFFF#000000##000000
##A267DF1.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)
#3D81E3
Deuteranopia (green-blind)
#5083DC
Tritanopia (blue-blind)
#977D99
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a267df;
/* rgb */ color: rgb(162, 103, 223);
/* oklch */ color: oklch(63.0% 0.180 304.4);
Tailwind
colors: {
  custom: {
    50: '#c194e9',
    500: '#a267df',
    950: '#000000',
  },
}
SCSS
$custom: #a267df;
$custom-light: #c194e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a267df",
  "rgb": {
    "r": 162,
    "g": 103,
    "b": 223
  },
  "hsl": {
    "h": 269.5,
    "s": 65.217,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62966,
    "c": 0.17956,
    "h": 304.4
  },
  "luminance": 0.2271
}

Semantic roles & 50–950 ramp

primary
#A267DF
secondary
#D1E6BC
accent
#CD1874
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A267DF

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

Preview Lab → · Contrast checker → · Palette generator →

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