#A248F1#A248F1

#A248F1 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 60.1% C 0.241 H 304.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A248F1
RGBrgb(162, 72, 241)
HSLhsl(272, 86%, 61%)
HSVhsv(272, 70%, 95%)
CMYKcmyk(32.8%, 70.1%, 0%, 5.5%)
CIE-LABlab(50.30, 65.99, -69.90)
CIE-LCHlch(50.30, 96.13, 313.35°)
OKLaboklab(60.08% 0.1358 -0.1988)
OKLCHoklch(60.08% 0.241 304.3)
XYZxyz(33.0912, 18.6671, 85.0618)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A248F1 #97F148
analogous
#4E48F1 #A248F1 #F148EB
triadic
#A248F1 #F1A248 #48F1A2
tetradic
#A248F1 #F14E48 #97F148 #48EBF1
square
#A248F1 #F14E48 #97F148 #48EBF1
split-complementary
#A248F1 #EBF148 #48F14E
monochromatic
#650EB1 #8512EA #A248F1 #BF81F5 #DCBAFA

Accessibility & contrast

On white

4.44
#A248F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#A248F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A248F1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A248F1#FFFFFF#000000##000000
##A248F11.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F6
Deuteranopia (green-blind)
#0078ED
Tritanopia (blue-blind)
#937098
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a248f1;
/* rgb */ color: rgb(162, 72, 241);
/* oklch */ color: oklch(60.1% 0.241 304.3);
Tailwind
colors: {
  custom: {
    50: '#c382f7',
    500: '#a248f1',
    950: '#000000',
  },
}
SCSS
$custom: #a248f1;
$custom-light: #c382f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a248f1",
  "rgb": {
    "r": 162,
    "g": 72,
    "b": 241
  },
  "hsl": {
    "h": 271.953,
    "s": 85.787,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60084,
    "c": 0.24074,
    "h": 304.3
  },
  "luminance": 0.18667
}

Semantic roles & 50–950 ramp

primary
#A248F1
secondary
#C8EAAB
accent
#E2036B
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #A248F1

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

Preview Lab → · Contrast checker → · Palette generator →

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