#A248E7#A248E7

#A248E7 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.4% C 0.231 H 306.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A248E7
RGBrgb(162, 72, 231)
HSLhsl(274, 77%, 59%)
HSVhsv(274, 69%, 91%)
CMYKcmyk(29.9%, 68.8%, 0%, 9.4%)
CIE-LABlab(49.60, 63.76, -65.40)
CIE-LCHlch(49.60, 91.34, 314.27°)
OKLaboklab(59.37% 0.1372 -0.1856)
OKLCHoklch(59.37% 0.231 306.5)
XYZxyz(31.6383, 18.0860, 77.4100)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A248E7 #8DE748
analogous
#5248E7 #A248E7 #E748DD
triadic
#A248E7 #E7A248 #48E7A2
tetradic
#A248E7 #E75248 #8DE748 #48DDE7
square
#A248E7 #E75248 #8DE748 #48DDE7
split-complementary
#A248E7 #DDE748 #48E752
monochromatic
#6315A0 #851CD6 #A248E7 #BD7EEE #D9B4F5

Accessibility & contrast

On white

4.55
#A248E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#A248E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A248E7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A248E7#FFFFFF#000000##000000
##A248E71.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#1376E4
Tritanopia (blue-blind)
#966C92
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a248e7;
/* rgb */ color: rgb(162, 72, 231);
/* oklch */ color: oklch(59.4% 0.231 306.5);
Tailwind
colors: {
  custom: {
    50: '#c382ef',
    500: '#a248e7',
    950: '#000000',
  },
}
SCSS
$custom: #a248e7;
$custom-light: #c382ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a248e7",
  "rgb": {
    "r": 162,
    "g": 72,
    "b": 231
  },
  "hsl": {
    "h": 273.962,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5937,
    "c": 0.23081,
    "h": 306.5
  },
  "luminance": 0.18086
}

Semantic roles & 50–950 ramp

primary
#A248E7
secondary
#C1E4A6
accent
#F33487
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A248E7

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

Preview Lab → · Contrast checker → · Palette generator →

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