#A248DB#A248DB

#A248DB is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.5% C 0.219 H 309.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A248DB
RGBrgb(162, 72, 219)
HSLhsl(277, 67%, 57%)
HSVhsv(277, 67%, 86%)
CMYKcmyk(26%, 67.1%, 0%, 14.1%)
CIE-LABlab(48.80, 61.13, -59.89)
CIE-LCHlch(48.80, 85.58, 315.59°)
OKLaboklab(58.54% 0.1386 -0.1694)
OKLCHoklch(58.54% 0.219 309.3)
XYZxyz(30.0013, 17.4311, 68.7882)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A248DB #81DB48
analogous
#5948DB #A248DB #DB48CA
triadic
#A248DB #DBA248 #48DBA2
tetradic
#A248DB #DB5948 #81DB48 #48CADB
square
#A248DB #DB5948 #81DB48 #48CADB
split-complementary
#A248DB #CADB48 #48DB59
monochromatic
#611C8D #8426C0 #A248DB #BC7BE5 #D6AEEF

Accessibility & contrast

On white

4.68
#A248DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#A248DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A248DB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A248DB#FFFFFF#000000##FFFFFF
##A248DB1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a248db;
/* rgb */ color: rgb(162, 72, 219);
/* oklch */ color: oklch(58.5% 0.219 309.3);
Tailwind
colors: {
  custom: {
    50: '#c281e7',
    500: '#a248db',
    950: '#000000',
  },
}
SCSS
$custom: #a248db;
$custom-light: #c281e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a248db",
  "rgb": {
    "r": 162,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 276.735,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58543,
    "c": 0.21887,
    "h": 309.3
  },
  "luminance": 0.17431
}

Semantic roles & 50–950 ramp

primary
#A248DB
secondary
#B9DDA2
accent
#EA3E81
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A248DB

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

Preview Lab → · Contrast checker → · Palette generator →

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