#A274BB#A274BB

#A274BB is a light, moderate violet. Relative luminance 0.238; OKLCH L 63.2% C 0.115 H 313.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#A274BB
RGBrgb(162, 116, 187)
HSLhsl(279, 34%, 59%)
HSVhsv(279, 38%, 73%)
CMYKcmyk(13.4%, 38%, 0%, 26.7%)
CIE-LABlab(55.85, 31.18, -30.43)
CIE-LCHlch(55.85, 43.56, 315.69°)
OKLaboklab(63.19% 0.0784 -0.0839)
OKLCHoklch(63.19% 0.115 313.1)
XYZxyz(30.1138, 23.7606, 50.0040)
Luminance0.2376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A274BB #8DBB74
analogous
#7F74BB #A274BB #BB74B1
triadic
#A274BB #BBA274 #74BBA2
tetradic
#A274BB #BB7F74 #8DBB74 #74B1BB
square
#A274BB #BB7F74 #8DBB74 #74B1BB
split-complementary
#A274BB #B1BB74 #74BB7F
monochromatic
#633B79 #854FA2 #A274BB #BD9DCF #D9C6E3

Accessibility & contrast

On white

3.65
#A274BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#A274BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A274BB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A274BB#FFFFFF#000000##000000
##A274BB1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6883BE
Deuteranopia (green-blind)
#7287B9
Tritanopia (blue-blind)
#A07E8F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a274bb;
/* rgb */ color: rgb(162, 116, 187);
/* oklch */ color: oklch(63.2% 0.115 313.1);
Tailwind
colors: {
  custom: {
    50: '#be9dcf',
    500: '#a274bb',
    950: '#000000',
  },
}
SCSS
$custom: #a274bb;
$custom-light: #be9dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#a274bb",
  "rgb": {
    "r": 162,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 278.873,
    "s": 34.3,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63189,
    "c": 0.11484,
    "h": 313.1
  },
  "luminance": 0.2376
}

Semantic roles & 50–950 ramp

primary
#A274BB
secondary
#C1D3B8
accent
#CA5D84
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A274BB

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

Preview Lab → · Contrast checker → · Palette generator →

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