#A274BC#A274BC

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

Color values

HEX#A274BC
RGBrgb(162, 116, 188)
HSLhsl(278, 35%, 60%)
HSVhsv(278, 38%, 74%)
CMYKcmyk(13.8%, 38.3%, 0%, 26.3%)
CIE-LABlab(55.89, 31.39, -30.93)
CIE-LCHlch(55.89, 44.07, 315.42°)
OKLaboklab(63.24% 0.0787 -0.0853)
OKLCHoklch(63.24% 0.116 312.7)
XYZxyz(30.2213, 23.8035, 50.5697)
Luminance0.2380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A274BC #8EBC74
analogous
#7E74BC #A274BC #BC74B2
triadic
#A274BC #BCA274 #74BCA2
tetradic
#A274BC #BC7E74 #8EBC74 #74B2BC
square
#A274BC #BC7E74 #8EBC74 #74B2BC
split-complementary
#A274BC #B2BC74 #74BC7E
monochromatic
#643B7B #854FA4 #A274BC #BE9DD0 #D9C7E4

Accessibility & contrast

On white

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

On black

5.76
#A274BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A274BC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A274BC#FFFFFF#000000##000000
##A274BC1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6783BF
Deuteranopia (green-blind)
#7287BA
Tritanopia (blue-blind)
#A07E8F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a274bc;
/* rgb */ color: rgb(162, 116, 188);
/* oklch */ color: oklch(63.2% 0.116 312.7);
Tailwind
colors: {
  custom: {
    50: '#be9dd0',
    500: '#a274bc',
    950: '#000000',
  },
}
SCSS
$custom: #a274bc;
$custom-light: #be9dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a274bc",
  "rgb": {
    "r": 162,
    "g": 116,
    "b": 188
  },
  "hsl": {
    "h": 278.333,
    "s": 34.951,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63236,
    "c": 0.11605,
    "h": 312.7
  },
  "luminance": 0.23803
}

Semantic roles & 50–950 ramp

primary
#A274BC
secondary
#C2D4B8
accent
#CB5D85
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A274BC

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

Preview Lab → · Contrast checker → · Palette generator →

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