#A274CB#A274CB

#A274CB is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.0% C 0.134 H 307.4°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A274CB
RGBrgb(162, 116, 203)
HSLhsl(272, 46%, 63%)
HSVhsv(272, 43%, 80%)
CMYKcmyk(20.2%, 42.9%, 0%, 20.4%)
CIE-LABlab(56.57, 34.76, -38.42)
CIE-LCHlch(56.57, 51.81, 312.13°)
OKLaboklab(63.97% 0.0816 -0.1069)
OKLCHoklch(63.97% 0.134 307.4)
XYZxyz(31.9231, 24.4843, 59.5325)
Luminance0.2448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A274CB #9DCB74
analogous
#7674CB #A274CB #CB74C9
triadic
#A274CB #CBA274 #74CBA2
tetradic
#A274CB #CB7674 #9DCB74 #74C9CB
square
#A274CB #CB7674 #9DCB74 #74C9CB
split-complementary
#A274CB #C9CB74 #74CB76
monochromatic
#65368F #8447BA #A274CB #C0A1DC #DECDEC

Accessibility & contrast

On white

3.56
#A274CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#A274CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A274CB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A274CB#FFFFFF#000000##000000
##A274CB1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CE
Deuteranopia (green-blind)
#6B88C9
Tritanopia (blue-blind)
#9C8296
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a274cb;
/* rgb */ color: rgb(162, 116, 203);
/* oklch */ color: oklch(64.0% 0.134 307.4);
Tailwind
colors: {
  custom: {
    50: '#bf9ddb',
    500: '#a274cb',
    950: '#000000',
  },
}
SCSS
$custom: #a274cb;
$custom-light: #bf9ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#a274cb",
  "rgb": {
    "r": 162,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 271.724,
    "s": 45.55,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6397,
    "c": 0.13449,
    "h": 307.4
  },
  "luminance": 0.24484
}

Semantic roles & 50–950 ramp

primary
#A274CB
secondary
#CCDDBE
accent
#B92D6F
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A274CB

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

Preview Lab → · Contrast checker → · Palette generator →

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