#A748FF#A748FF

#A748FF is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.7% C 0.256 H 303.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A748FF
RGBrgb(167, 72, 255)
HSLhsl(271, 100%, 64%)
HSVhsv(271, 72%, 100%)
CMYKcmyk(34.5%, 71.8%, 0%, 0%)
CIE-LABlab(51.92, 70.02, -75.05)
CIE-LCHlch(51.92, 102.64, 313.02°)
OKLaboklab(61.68% 0.14 -0.2138)
OKLCHoklch(61.68% 0.256 303.2)
XYZxyz(36.2995, 20.0702, 96.5499)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A748FF #A0FF48
analogous
#4C48FF #A748FF #FF48FB
triadic
#A748FF #FFA748 #48FFA7
tetradic
#A748FF #FF4C48 #A0FF48 #48FBFF
square
#A748FF #FF4C48 #A0FF48 #48FBFF
split-complementary
#A748FF #FBFF48 #48FF4C
monochromatic
#6A00CD #8A0BFF #A748FF #C485FF #E2C2FF

Accessibility & contrast

On white

4.19
#A748FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#A748FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A748FF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A748FF#FFFFFF#000000##000000
##A748FF1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#007BFB
Tritanopia (blue-blind)
#9575A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a748ff;
/* rgb */ color: rgb(167, 72, 255);
/* oklch */ color: oklch(61.7% 0.256 303.2);
Tailwind
colors: {
  custom: {
    50: '#c883ff',
    500: '#a748ff',
    950: '#000000',
  },
}
SCSS
$custom: #a748ff;
$custom-light: #c883ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a748ff",
  "rgb": {
    "r": 167,
    "g": 72,
    "b": 255
  },
  "hsl": {
    "h": 271.148,
    "s": 100,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61682,
    "c": 0.25552,
    "h": 303.2
  },
  "luminance": 0.2007
}

Semantic roles & 50–950 ramp

primary
#A748FF
secondary
#D0F1B1
accent
#E6006E
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140B18
muted
#827C86

Preview Lab

Preview with #A748FF

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

Preview Lab → · Contrast checker → · Palette generator →

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