#A247DB#A247DB

#A247DB is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.4% C 0.220 H 309.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A247DB
RGBrgb(162, 71, 219)
HSLhsl(277, 67%, 57%)
HSVhsv(277, 68%, 86%)
CMYKcmyk(26%, 67.6%, 0%, 14.1%)
CIE-LABlab(48.64, 61.58, -60.15)
CIE-LCHlch(48.64, 86.08, 315.67°)
OKLaboklab(58.43% 0.1397 -0.1701)
OKLCHoklch(58.43% 0.22 309.4)
XYZxyz(29.9372, 17.3029, 68.7668)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A247DB #80DB47
analogous
#5847DB #A247DB #DB47CA
triadic
#A247DB #DBA247 #47DBA2
tetradic
#A247DB #DB5847 #80DB47 #47CADB
square
#A247DB #DB5847 #80DB47 #47CADB
split-complementary
#A247DB #CADB47 #47DB58
monochromatic
#611B8C #8425BF #A247DB #BC7AE5 #D6ADEF

Accessibility & contrast

On white

4.71
#A247DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#A247DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A247DB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A247DB#FFFFFF#000000##FFFFFF
##A247DB1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#2C75D8
Tritanopia (blue-blind)
#9A678C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a247db;
/* rgb */ color: rgb(162, 71, 219);
/* oklch */ color: oklch(58.4% 0.220 309.4);
Tailwind
colors: {
  custom: {
    50: '#c281e7',
    500: '#a247db',
    950: '#000000',
  },
}
SCSS
$custom: #a247db;
$custom-light: #c281e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a247db",
  "rgb": {
    "r": 162,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 276.892,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58429,
    "c": 0.22012,
    "h": 309.4
  },
  "luminance": 0.17302
}

Semantic roles & 50–950 ramp

primary
#A247DB
secondary
#B8DDA1
accent
#EA3E80
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A247DB

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

Preview Lab → · Contrast checker → · Palette generator →

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