#A248E1#A248E1

#A248E1 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 59.0% C 0.225 H 307.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A248E1
RGBrgb(162, 72, 225)
HSLhsl(275, 72%, 58%)
HSVhsv(275, 68%, 88%)
CMYKcmyk(28%, 68%, 0%, 11.8%)
CIE-LABlab(49.19, 62.44, -62.66)
CIE-LCHlch(49.19, 88.46, 314.90°)
OKLaboklab(58.95% 0.138 -0.1775)
OKLCHoklch(58.95% 0.225 307.9)
XYZxyz(30.8054, 17.7528, 73.0234)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A248E1 #87E148
analogous
#5548E1 #A248E1 #E148D4
triadic
#A248E1 #E1A248 #48E1A2
tetradic
#A248E1 #E15548 #87E148 #48D4E1
square
#A248E1 #E15548 #87E148 #48D4E1
split-complementary
#A248E1 #D4E148 #48E155
monochromatic
#621996 #8521CB #A248E1 #BD7DEA #D7B1F2

Accessibility & contrast

On white

4.61
#A248E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#A248E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A248E1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A248E1#FFFFFF#000000##FFFFFF
##A248E11.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#2376DE
Tritanopia (blue-blind)
#986A8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a248e1;
/* rgb */ color: rgb(162, 72, 225);
/* oklch */ color: oklch(59.0% 0.225 307.9);
Tailwind
colors: {
  custom: {
    50: '#c281eb',
    500: '#a248e1',
    950: '#000000',
  },
}
SCSS
$custom: #a248e1;
$custom-light: #c281eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a248e1",
  "rgb": {
    "r": 162,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 275.294,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58953,
    "c": 0.22484,
    "h": 307.9
  },
  "luminance": 0.17752
}

Semantic roles & 50–950 ramp

primary
#A248E1
secondary
#BDE1A4
accent
#EF3984
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A248E1

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

Preview Lab → · Contrast checker → · Palette generator →

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