#A74BE1#A74BE1

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

Color values

HEX#A74BE1
RGBrgb(167, 75, 225)
HSLhsl(277, 71%, 59%)
HSVhsv(277, 67%, 88%)
CMYKcmyk(25.8%, 66.7%, 0%, 11.8%)
CIE-LABlab(50.32, 62.14, -60.82)
CIE-LCHlch(50.32, 86.95, 315.61°)
OKLaboklab(59.89% 0.1412 -0.172)
OKLCHoklch(59.89% 0.223 309.4)
XYZxyz(32.0403, 18.6845, 73.1382)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74BE1 #85E14B
analogous
#5C4BE1 #A74BE1 #E14BD0
triadic
#A74BE1 #E1A74B #4BE1A7
tetradic
#A74BE1 #E15C4B #85E14B #4BD0E1
square
#A74BE1 #E15C4B #85E14B #4BD0E1
split-complementary
#A74BE1 #D0E14B #4BE15C
monochromatic
#671998 #8B22CD #A74BE1 #C17FEA #DAB4F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A74BE1#FFFFFF#000000##000000
##A74BE11.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)
#0074E5
Deuteranopia (green-blind)
#3179DE
Tritanopia (blue-blind)
#9F6B90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a74be1;
/* rgb */ color: rgb(167, 75, 225);
/* oklch */ color: oklch(59.9% 0.223 309.4);
Tailwind
colors: {
  custom: {
    50: '#c584eb',
    500: '#a74be1',
    950: '#000000',
  },
}
SCSS
$custom: #a74be1;
$custom-light: #c584eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a74be1",
  "rgb": {
    "r": 167,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 276.8,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59892,
    "c": 0.22252,
    "h": 309.4
  },
  "luminance": 0.18684
}

Semantic roles & 50–950 ramp

primary
#A74BE1
secondary
#BDE1A6
accent
#EE3A7F
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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