#A274BF#A274BF

#A274BF is a light, moderate violet. Relative luminance 0.239; OKLCH L 63.4% C 0.120 H 311.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A274BF
RGBrgb(162, 116, 191)
HSLhsl(277, 37%, 60%)
HSVhsv(277, 39%, 75%)
CMYKcmyk(15.2%, 39.3%, 0%, 25.1%)
CIE-LABlab(56.02, 32.05, -32.45)
CIE-LCHlch(56.02, 45.61, 314.65°)
OKLaboklab(63.38% 0.0793 -0.0897)
OKLCHoklch(63.38% 0.12 311.5)
XYZxyz(30.5480, 23.9342, 52.2906)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A274BF #91BF74
analogous
#7C74BF #A274BF #BF74B7
triadic
#A274BF #BFA274 #74BFA2
tetradic
#A274BF #BF7C74 #91BF74 #74B7BF
square
#A274BF #BF7C74 #91BF74 #74B7BF
split-complementary
#A274BF #B7BF74 #74BF7C
monochromatic
#643A7E #854DA8 #A274BF #BE9ED2 #DAC8E6

Accessibility & contrast

On white

3.63
#A274BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#A274BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A274BF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A274BF#FFFFFF#000000##000000
##A274BF1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6684C2
Deuteranopia (green-blind)
#7187BD
Tritanopia (blue-blind)
#9F7F90
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a274bf;
/* rgb */ color: rgb(162, 116, 191);
/* oklch */ color: oklch(63.4% 0.120 311.5);
Tailwind
colors: {
  custom: {
    50: '#bf9dd2',
    500: '#a274bf',
    950: '#000000',
  },
}
SCSS
$custom: #a274bf;
$custom-light: #bf9dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a274bf",
  "rgb": {
    "r": 162,
    "g": 116,
    "b": 191
  },
  "hsl": {
    "h": 276.8,
    "s": 36.946,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63378,
    "c": 0.11971,
    "h": 311.5
  },
  "luminance": 0.23934
}

Semantic roles & 50–950 ramp

primary
#A274BF
secondary
#C4D6B9
accent
#B03665
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A274BF

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

Preview Lab → · Contrast checker → · Palette generator →

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