#A74BE8#A74BE8

#A74BE8 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.4% C 0.229 H 307.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A74BE8
RGBrgb(167, 75, 232)
HSLhsl(275, 77%, 60%)
HSVhsv(275, 68%, 91%)
CMYKcmyk(28%, 67.7%, 0%, 9%)
CIE-LABlab(50.77, 63.66, -64.03)
CIE-LCHlch(50.77, 90.29, 314.83°)
OKLaboklab(60.37% 0.1405 -0.1814)
OKLCHoklch(60.37% 0.229 307.8)
XYZxyz(33.0149, 19.0743, 78.2708)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74BE8 #8CE84B
analogous
#584BE8 #A74BE8 #E84BDB
triadic
#A74BE8 #E8A74B #4BE8A7
tetradic
#A74BE8 #E8584B #8CE84B #4BDBE8
square
#A74BE8 #E8584B #8CE84B #4BDBE8
split-complementary
#A74BE8 #DBE84B #4BE858
monochromatic
#6915A4 #8B1CDA #A74BE8 #C281EF #DCB8F6

Accessibility & contrast

On white

4.36
#A74BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#A74BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74BE8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74BE8#FFFFFF#000000##000000
##A74BE81.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#257AE5
Tritanopia (blue-blind)
#9D6D94
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a74be8;
/* rgb */ color: rgb(167, 75, 232);
/* oklch */ color: oklch(60.4% 0.229 307.8);
Tailwind
colors: {
  custom: {
    50: '#c684f0',
    500: '#a74be8',
    950: '#000000',
  },
}
SCSS
$custom: #a74be8;
$custom-light: #c684f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a74be8",
  "rgb": {
    "r": 167,
    "g": 75,
    "b": 232
  },
  "hsl": {
    "h": 275.159,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60366,
    "c": 0.22946,
    "h": 307.8
  },
  "luminance": 0.19074
}

Semantic roles & 50–950 ramp

primary
#A74BE8
secondary
#C2E6A9
accent
#DA0C61
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A74BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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