#A274FB#A274FB

#A274FB is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.7% C 0.194 H 296.5°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A274FB
RGBrgb(162, 116, 251)
HSLhsl(260, 94%, 72%)
HSVhsv(260, 54%, 98%)
CMYKcmyk(35.5%, 53.8%, 0%, 1.6%)
CIE-LABlab(59.10, 46.41, -61.26)
CIE-LCHlch(59.10, 76.86, 307.15°)
OKLaboklab(66.68% 0.0865 -0.1735)
OKLCHoklch(66.68% 0.194 296.5)
XYZxyz(38.5539, 27.1366, 94.4547)
Luminance0.2714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A274FB #CDFB74
analogous
#748AFB #A274FB #E574FB
triadic
#A274FB #FBA274 #74FBA2
tetradic
#A274FB #FB748A #CDFB74 #74FBE5
square
#A274FB #FB748A #CDFB74 #74FBE5
split-complementary
#A274FB #FBE574 #8AFB74
monochromatic
#5607EE #7A39F9 #A274FB #CAAFFD #EBE1FE

Accessibility & contrast

On white

3.27
#A274FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#A274FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A274FB
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A274FB#FFFFFF#000000##000000
##A274FB1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#398FFF
Deuteranopia (green-blind)
#478DF8
Tritanopia (blue-blind)
#8D8FAD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a274fb;
/* rgb */ color: rgb(162, 116, 251);
/* oklch */ color: oklch(66.7% 0.194 296.5);
Tailwind
colors: {
  custom: {
    50: '#c29dfd',
    500: '#a274fb',
    950: '#000000',
  },
}
SCSS
$custom: #a274fb;
$custom-light: #c29dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a274fb",
  "rgb": {
    "r": 162,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 260.444,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66677,
    "c": 0.1939,
    "h": 296.5
  },
  "luminance": 0.27137
}

Semantic roles & 50–950 ramp

primary
#A274FB
secondary
#EBF6D4
accent
#E60097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A274FB

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

Preview Lab → · Contrast checker → · Palette generator →

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