#A268BC#A268BC

#A268BC is a mid, vivid purple. Relative luminance 0.212; OKLCH L 61.2% C 0.137 H 314.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A268BC
RGBrgb(162, 104, 188)
HSLhsl(281, 39%, 57%)
HSVhsv(281, 45%, 74%)
CMYKcmyk(13.8%, 44.7%, 0%, 26.3%)
CIE-LABlab(53.18, 38.12, -35.16)
CIE-LCHlch(53.18, 51.86, 317.31°)
OKLaboklab(61.2% 0.0964 -0.0974)
OKLCHoklch(61.2% 0.137 314.7)
XYZxyz(28.9263, 21.2136, 50.1380)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A268BC #82BC68
analogous
#7868BC #A268BC #BC68AC
triadic
#A268BC #BCA268 #68BCA2
tetradic
#A268BC #BC7868 #82BC68 #68ACBC
square
#A268BC #BC7868 #82BC68 #68ACBC
split-complementary
#A268BC #ACBC68 #68BC78
monochromatic
#613475 #8447A0 #A268BC #BC92CF #D6BDE2

Accessibility & contrast

On white

4.01
#A268BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#A268BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A268BC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A268BC#FFFFFF#000000##000000
##A268BC1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#587CBF
Deuteranopia (green-blind)
#6881BA
Tritanopia (blue-blind)
#A07489
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a268bc;
/* rgb */ color: rgb(162, 104, 188);
/* oklch */ color: oklch(61.2% 0.137 314.7);
Tailwind
colors: {
  custom: {
    50: '#bf94d0',
    500: '#a268bc',
    950: '#000000',
  },
}
SCSS
$custom: #a268bc;
$custom-light: #bf94d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a268bc",
  "rgb": {
    "r": 162,
    "g": 104,
    "b": 188
  },
  "hsl": {
    "h": 281.429,
    "s": 38.532,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61199,
    "c": 0.13703,
    "h": 314.7
  },
  "luminance": 0.21213
}

Semantic roles & 50–950 ramp

primary
#A268BC
secondary
#B9D1AF
accent
#CE597E
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A268BC

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

Preview Lab → · Contrast checker → · Palette generator →

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