#A274FC#A274FC

#A274FC is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.7% C 0.195 H 296.3°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A274FC
RGBrgb(162, 116, 252)
HSLhsl(260, 96%, 72%)
HSVhsv(260, 54%, 99%)
CMYKcmyk(35.7%, 54%, 0%, 1.2%)
CIE-LABlab(59.16, 46.67, -61.72)
CIE-LCHlch(59.16, 77.38, 307.09°)
OKLaboklab(66.74% 0.0865 -0.1749)
OKLCHoklch(66.74% 0.195 296.3)
XYZxyz(38.7119, 27.1998, 95.2871)
Luminance0.2720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A274FC #CEFC74
analogous
#748AFC #A274FC #E674FC
triadic
#A274FC #FCA274 #74FCA2
tetradic
#A274FC #FC748A #CEFC74 #74FCE6
square
#A274FC #FC748A #CEFC74 #74FCE6
split-complementary
#A274FC #FCE674 #8AFC74
monochromatic
#5505F0 #7A38FB #A274FC #CAB0FD #EBE1FE

Accessibility & contrast

On white

3.26
#A274FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#A274FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A274FC
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A274FC#FFFFFF#000000##000000
##A274FC1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#388FFF
Deuteranopia (green-blind)
#468DF9
Tritanopia (blue-blind)
#8D90AD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a274fc;
/* rgb */ color: rgb(162, 116, 252);
/* oklch */ color: oklch(66.7% 0.195 296.3);
Tailwind
colors: {
  custom: {
    50: '#c29dfe',
    500: '#a274fc',
    950: '#000000',
  },
}
SCSS
$custom: #a274fc;
$custom-light: #c29dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a274fc",
  "rgb": {
    "r": 162,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 260.294,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66739,
    "c": 0.19513,
    "h": 296.3
  },
  "luminance": 0.272
}

Semantic roles & 50–950 ramp

primary
#A274FC
secondary
#EBF7D4
accent
#E60098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A274FC

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

Preview Lab → · Contrast checker → · Palette generator →

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