#A26FCB#A26FCB

#A26FCB is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.1% C 0.143 H 308.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#A26FCB
RGBrgb(162, 111, 203)
HSLhsl(273, 47%, 62%)
HSVhsv(273, 45%, 80%)
CMYKcmyk(20.2%, 45.3%, 0%, 20.4%)
CIE-LABlab(55.44, 37.56, -40.19)
CIE-LCHlch(55.44, 55.01, 313.06°)
OKLaboklab(63.13% 0.0887 -0.112)
OKLCHoklch(63.13% 0.143 308.4)
XYZxyz(31.3621, 23.3624, 59.3456)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26FCB #98CB6F
analogous
#746FCB #A26FCB #CB6FC6
triadic
#A26FCB #CBA26F #6FCBA2
tetradic
#A26FCB #CB746F #98CB6F #6FC6CB
square
#A26FCB #CB746F #98CB6F #6FC6CB
split-complementary
#A26FCB #C6CB6F #6FCB74
monochromatic
#65338D #8543BA #A26FCB #BF9CDB #DCC9EB

Accessibility & contrast

On white

3.70
#A26FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#A26FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26FCB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26FCB#FFFFFF#000000##000000
##A26FCB1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5983CE
Deuteranopia (green-blind)
#6685C9
Tritanopia (blue-blind)
#9C7E93
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a26fcb;
/* rgb */ color: rgb(162, 111, 203);
/* oklch */ color: oklch(63.1% 0.143 308.4);
Tailwind
colors: {
  custom: {
    50: '#bf99db',
    500: '#a26fcb',
    950: '#000000',
  },
}
SCSS
$custom: #a26fcb;
$custom-light: #bf99db;
$custom-dark: #000000;
JSON
{
  "hex": "#a26fcb",
  "rgb": {
    "r": 162,
    "g": 111,
    "b": 203
  },
  "hsl": {
    "h": 273.261,
    "s": 46.939,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63125,
    "c": 0.14289,
    "h": 308.4
  },
  "luminance": 0.23362
}

Semantic roles & 50–950 ramp

primary
#A26FCB
secondary
#C9DCBA
accent
#BA2B6B
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A26FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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