#A274BD#A274BD

#A274BD is a light, moderate violet. Relative luminance 0.238; OKLCH L 63.3% C 0.117 H 312.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A274BD
RGBrgb(162, 116, 189)
HSLhsl(278, 36%, 60%)
HSVhsv(278, 39%, 74%)
CMYKcmyk(14.3%, 38.6%, 0%, 25.9%)
CIE-LABlab(55.93, 31.61, -31.44)
CIE-LCHlch(55.93, 44.59, 315.16°)
OKLaboklab(63.28% 0.0789 -0.0868)
OKLCHoklch(63.28% 0.117 312.3)
XYZxyz(30.3294, 23.8468, 51.1394)
Luminance0.2385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A274BD #8FBD74
analogous
#7D74BD #A274BD #BD74B4
triadic
#A274BD #BDA274 #74BDA2
tetradic
#A274BD #BD7D74 #8FBD74 #74B4BD
square
#A274BD #BD7D74 #8FBD74 #74B4BD
split-complementary
#A274BD #B4BD74 #74BD7D
monochromatic
#643B7C #854EA5 #A274BD #BE9DD1 #DAC7E4

Accessibility & contrast

On white

3.64
#A274BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#A274BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A274BD
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A274BD#FFFFFF#000000##000000
##A274BD1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6784C0
Deuteranopia (green-blind)
#7287BB
Tritanopia (blue-blind)
#A07E90
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a274bd;
/* rgb */ color: rgb(162, 116, 189);
/* oklch */ color: oklch(63.3% 0.117 312.3);
Tailwind
colors: {
  custom: {
    50: '#be9dd1',
    500: '#a274bd',
    950: '#000000',
  },
}
SCSS
$custom: #a274bd;
$custom-light: #be9dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a274bd",
  "rgb": {
    "r": 162,
    "g": 116,
    "b": 189
  },
  "hsl": {
    "h": 277.808,
    "s": 35.61,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63283,
    "c": 0.11727,
    "h": 312.3
  },
  "luminance": 0.23846
}

Semantic roles & 50–950 ramp

primary
#A274BD
secondary
#C3D5B8
accent
#CC5C85
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A274BD

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

Preview Lab → · Contrast checker → · Palette generator →

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