#A248E0#A248E0

#A248E0 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.9% C 0.224 H 308.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A248E0
RGBrgb(162, 72, 224)
HSLhsl(276, 71%, 58%)
HSVhsv(276, 68%, 88%)
CMYKcmyk(27.7%, 67.9%, 0%, 12.2%)
CIE-LABlab(49.13, 62.22, -62.20)
CIE-LCHlch(49.13, 87.98, 315.01°)
OKLaboklab(58.88% 0.1381 -0.1762)
OKLCHoklch(58.88% 0.224 308.1)
XYZxyz(30.6694, 17.6984, 72.3070)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A248E0 #86E048
analogous
#5648E0 #A248E0 #E048D2
triadic
#A248E0 #E0A248 #48E0A2
tetradic
#A248E0 #E05648 #86E048 #48D2E0
square
#A248E0 #E05648 #86E048 #48D2E0
split-complementary
#A248E0 #D2E048 #48E056
monochromatic
#621994 #8522C9 #A248E0 #BD7CE9 #D7B1F2

Accessibility & contrast

On white

4.63
#A248E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#A248E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A248E0
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A248E0#FFFFFF#000000##FFFFFF
##A248E01.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E4
Deuteranopia (green-blind)
#2576DD
Tritanopia (blue-blind)
#98698F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a248e0;
/* rgb */ color: rgb(162, 72, 224);
/* oklch */ color: oklch(58.9% 0.224 308.1);
Tailwind
colors: {
  custom: {
    50: '#c281ea',
    500: '#a248e0',
    950: '#000000',
  },
}
SCSS
$custom: #a248e0;
$custom-light: #c281ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a248e0",
  "rgb": {
    "r": 162,
    "g": 72,
    "b": 224
  },
  "hsl": {
    "h": 275.526,
    "s": 71.028,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58884,
    "c": 0.22384,
    "h": 308.1
  },
  "luminance": 0.17698
}

Semantic roles & 50–950 ramp

primary
#A248E0
secondary
#BCE0A4
accent
#EE3A83
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A248E0

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

Preview Lab → · Contrast checker → · Palette generator →

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