#A74BE2#A74BE2

#A74BE2 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 60.0% C 0.224 H 309.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A74BE2
RGBrgb(167, 75, 226)
HSLhsl(277, 72%, 59%)
HSVhsv(277, 67%, 89%)
CMYKcmyk(26.1%, 66.8%, 0%, 11.4%)
CIE-LABlab(50.38, 62.35, -61.28)
CIE-LCHlch(50.38, 87.42, 315.50°)
OKLaboklab(59.96% 0.1411 -0.1733)
OKLCHoklch(59.96% 0.224 309.1)
XYZxyz(32.1772, 18.7392, 73.8587)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74BE2 #86E24B
analogous
#5C4BE2 #A74BE2 #E24BD2
triadic
#A74BE2 #E2A74B #4BE2A7
tetradic
#A74BE2 #E25C4B #86E24B #4BD2E2
square
#A74BE2 #E25C4B #86E24B #4BD2E2
split-complementary
#A74BE2 #D2E24B #4BE25C
monochromatic
#67199A #8B21CF #A74BE2 #C180EA #DBB4F3

Accessibility & contrast

On white

4.42
#A74BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A74BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74BE2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74BE2#FFFFFF#000000##000000
##A74BE21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#3079DF
Tritanopia (blue-blind)
#9E6B91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a74be2;
/* rgb */ color: rgb(167, 75, 226);
/* oklch */ color: oklch(60.0% 0.224 309.1);
Tailwind
colors: {
  custom: {
    50: '#c684ec',
    500: '#a74be2',
    950: '#000000',
  },
}
SCSS
$custom: #a74be2;
$custom-light: #c684ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a74be2",
  "rgb": {
    "r": 167,
    "g": 75,
    "b": 226
  },
  "hsl": {
    "h": 276.556,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59959,
    "c": 0.22351,
    "h": 309.1
  },
  "luminance": 0.18739
}

Semantic roles & 50–950 ramp

primary
#A74BE2
secondary
#BEE2A7
accent
#EF3980
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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