#A268BB#A268BB

#A268BB is a mid, vivid purple. Relative luminance 0.212; OKLCH L 61.1% C 0.136 H 315.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A268BB
RGBrgb(162, 104, 187)
HSLhsl(282, 38%, 57%)
HSVhsv(282, 44%, 73%)
CMYKcmyk(13.4%, 44.4%, 0%, 26.7%)
CIE-LABlab(53.14, 37.91, -34.66)
CIE-LCHlch(53.14, 51.36, 317.56°)
OKLaboklab(61.15% 0.0962 -0.096)
OKLCHoklch(61.15% 0.136 315.1)
XYZxyz(28.8188, 21.1706, 49.5723)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A268BB #81BB68
analogous
#7968BB #A268BB #BB68AB
triadic
#A268BB #BBA268 #68BBA2
tetradic
#A268BB #BB7968 #81BB68 #68ABBB
square
#A268BB #BB7968 #81BB68 #68ABBB
split-complementary
#A268BB #ABBB68 #68BB79
monochromatic
#613474 #84479E #A268BB #BC92CE #D6BCE1

Accessibility & contrast

On white

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

On black

5.23
#A268BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A268BB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A268BB#FFFFFF#000000##000000
##A268BB1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#597BBE
Deuteranopia (green-blind)
#6881B9
Tritanopia (blue-blind)
#A17489
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a268bb;
/* rgb */ color: rgb(162, 104, 187);
/* oklch */ color: oklch(61.1% 0.136 315.1);
Tailwind
colors: {
  custom: {
    50: '#bf94d0',
    500: '#a268bb',
    950: '#000000',
  },
}
SCSS
$custom: #a268bb;
$custom-light: #bf94d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a268bb",
  "rgb": {
    "r": 162,
    "g": 104,
    "b": 187
  },
  "hsl": {
    "h": 281.928,
    "s": 37.9,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61149,
    "c": 0.13588,
    "h": 315.1
  },
  "luminance": 0.2117
}

Semantic roles & 50–950 ramp

primary
#A268BB
secondary
#B9D0AF
accent
#CE5A7D
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A268BB

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

Preview Lab → · Contrast checker → · Palette generator →

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