#A56BED#A56BED

#A56BED is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.7% C 0.191 H 301.9°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A56BED
RGBrgb(165, 107, 237)
HSLhsl(267, 78%, 67%)
HSVhsv(267, 55%, 93%)
CMYKcmyk(30.4%, 54.9%, 0%, 7.1%)
CIE-LABlab(56.71, 48.54, -57.30)
CIE-LCHlch(56.71, 75.10, 310.27°)
OKLaboklab(64.72% 0.1008 -0.1618)
OKLCHoklch(64.72% 0.191 301.9)
XYZxyz(36.0573, 24.6291, 82.9586)
Luminance0.2463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56BED #B3ED6B
analogous
#6B72ED #A56BED #E66BED
triadic
#A56BED #EDA56B #6BEDA5
tetradic
#A56BED #ED6B72 #B3ED6B #6BEDE6
square
#A56BED #ED6B72 #B3ED6B #6BEDE6
split-complementary
#A56BED #EDE66B #72ED6B
monochromatic
#6518C6 #8434E6 #A56BED #C6A2F4 #E7D8FA

Accessibility & contrast

On white

3.54
#A56BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#A56BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56BED
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56BED#FFFFFF#000000##000000
##A56BED1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3787F1
Deuteranopia (green-blind)
#4C88EA
Tritanopia (blue-blind)
#9784A2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a56bed;
/* rgb */ color: rgb(165, 107, 237);
/* oklch */ color: oklch(64.7% 0.191 301.9);
Tailwind
colors: {
  custom: {
    50: '#c397f3',
    500: '#a56bed',
    950: '#000000',
  },
}
SCSS
$custom: #a56bed;
$custom-light: #c397f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a56bed",
  "rgb": {
    "r": 165,
    "g": 107,
    "b": 237
  },
  "hsl": {
    "h": 266.769,
    "s": 78.313,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64725,
    "c": 0.19067,
    "h": 301.9
  },
  "luminance": 0.24629
}

Semantic roles & 50–950 ramp

primary
#A56BED
secondary
#DCEEC6
accent
#DB0B7E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56BED

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

Preview Lab → · Contrast checker → · Palette generator →

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