#A745EF#A745EF

#A745EF is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 60.2% C 0.243 H 306.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A745EF
RGBrgb(167, 69, 239)
HSLhsl(275, 84%, 60%)
HSVhsv(275, 71%, 94%)
CMYKcmyk(30.1%, 71.1%, 0%, 6.3%)
CIE-LABlab(50.34, 67.74, -68.67)
CIE-LCHlch(50.34, 96.46, 314.61°)
OKLaboklab(60.21% 0.1455 -0.195)
OKLCHoklch(60.21% 0.243 306.7)
XYZxyz(33.6411, 18.7041, 83.4826)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A745EF #8DEF45
analogous
#5245EF #A745EF #EF45E2
triadic
#A745EF #EFA745 #45EFA7
tetradic
#A745EF #EF5245 #8DEF45 #45E2EF
square
#A745EF #EF5245 #8DEF45 #45E2EF
split-complementary
#A745EF #E2EF45 #45EF52
monochromatic
#690FAB #8B14E3 #A745EF #C27DF4 #DCB6F9

Accessibility & contrast

On white

4.43
#A745EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A745EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A745EF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A745EF#FFFFFF#000000##000000
##A745EF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#0078EB
Tritanopia (blue-blind)
#9B6D96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a745ef;
/* rgb */ color: rgb(167, 69, 239);
/* oklch */ color: oklch(60.2% 0.243 306.7);
Tailwind
colors: {
  custom: {
    50: '#c781f5',
    500: '#a745ef',
    950: '#000000',
  },
}
SCSS
$custom: #a745ef;
$custom-light: #c781f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a745ef",
  "rgb": {
    "r": 167,
    "g": 69,
    "b": 239
  },
  "hsl": {
    "h": 274.588,
    "s": 84.158,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60207,
    "c": 0.24332,
    "h": 306.7
  },
  "luminance": 0.18704
}

Semantic roles & 50–950 ramp

primary
#A745EF
secondary
#C3E8A7
accent
#E10562
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B17
muted
#827C85

Preview Lab

Preview with #A745EF

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

Preview Lab → · Contrast checker → · Palette generator →

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