#A274F1#A274F1

#A274F1 is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.1% C 0.182 H 298.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A274F1
RGBrgb(162, 116, 241)
HSLhsl(262, 82%, 70%)
HSVhsv(262, 52%, 95%)
CMYKcmyk(32.8%, 51.9%, 0%, 5.5%)
CIE-LABlab(58.53, 43.90, -56.64)
CIE-LCHlch(58.53, 71.66, 307.78°)
OKLaboklab(66.07% 0.086 -0.16)
OKLCHoklch(66.07% 0.182 298.3)
XYZxyz(37.0190, 26.5226, 86.3711)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A274F1 #C3F174
analogous
#7485F1 #A274F1 #E074F1
triadic
#A274F1 #F1A274 #74F1A2
tetradic
#A274F1 #F17485 #C3F174 #74F1E0
square
#A274F1 #F17485 #C3F174 #74F1E0
split-complementary
#A274F1 #F1E074 #85F174
monochromatic
#5C15D5 #7D3CEB #A274F1 #C7ACF7 #ECE3FC

Accessibility & contrast

On white

3.33
#A274F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#A274F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A274F1
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A274F1#FFFFFF#000000##000000
##A274F11.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#448DF5
Deuteranopia (green-blind)
#518CEE
Tritanopia (blue-blind)
#918CA8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a274f1;
/* rgb */ color: rgb(162, 116, 241);
/* oklch */ color: oklch(66.1% 0.182 298.3);
Tailwind
colors: {
  custom: {
    50: '#c19df6',
    500: '#a274f1',
    950: '#000000',
  },
}
SCSS
$custom: #a274f1;
$custom-light: #c19df6;
$custom-dark: #000000;
JSON
{
  "hex": "#a274f1",
  "rgb": {
    "r": 162,
    "g": 116,
    "b": 241
  },
  "hsl": {
    "h": 262.08,
    "s": 81.699,
    "l": 70
  },
  "oklch": {
    "l": 0.66071,
    "c": 0.18165,
    "h": 298.3
  },
  "luminance": 0.26523
}

Semantic roles & 50–950 ramp

primary
#A274F1
secondary
#E5F2CF
accent
#DE078F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A274F1

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

Preview Lab → · Contrast checker → · Palette generator →

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