#A274F2#A274F2

#A274F2 is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.1% C 0.183 H 298.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A274F2
RGBrgb(162, 116, 242)
HSLhsl(262, 83%, 70%)
HSVhsv(262, 52%, 95%)
CMYKcmyk(33.1%, 52.1%, 0%, 5.1%)
CIE-LABlab(58.59, 44.15, -57.11)
CIE-LCHlch(58.59, 72.18, 307.71°)
OKLaboklab(66.13% 0.0861 -0.1613)
OKLCHoklch(66.13% 0.183 298.1)
XYZxyz(37.1688, 26.5825, 87.1599)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A274F2 #C4F274
analogous
#7485F2 #A274F2 #E174F2
triadic
#A274F2 #F2A274 #74F2A2
tetradic
#A274F2 #F27485 #C4F274 #74F2E1
square
#A274F2 #F27485 #C4F274 #74F2E1
split-complementary
#A274F2 #F2E174 #85F274
monochromatic
#5B14D7 #7D3CED #A274F2 #C7ACF7 #ECE3FC

Accessibility & contrast

On white

3.32
#A274F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#A274F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A274F2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A274F2#FFFFFF#000000##000000
##A274F21.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#438DF6
Deuteranopia (green-blind)
#508CEF
Tritanopia (blue-blind)
#918DA8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a274f2;
/* rgb */ color: rgb(162, 116, 242);
/* oklch */ color: oklch(66.1% 0.183 298.1);
Tailwind
colors: {
  custom: {
    50: '#c19df7',
    500: '#a274f2',
    950: '#000000',
  },
}
SCSS
$custom: #a274f2;
$custom-light: #c19df7;
$custom-dark: #000000;
JSON
{
  "hex": "#a274f2",
  "rgb": {
    "r": 162,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 261.905,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66131,
    "c": 0.18288,
    "h": 298.1
  },
  "luminance": 0.26583
}

Semantic roles & 50–950 ramp

primary
#A274F2
secondary
#E6F2CF
accent
#DF0690
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A274F2

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

Preview Lab → · Contrast checker → · Palette generator →

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