#A275F6#A275F6

#A275F6 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.5% C 0.186 H 297.2°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A275F6
RGBrgb(162, 117, 246)
HSLhsl(261, 88%, 71%)
HSVhsv(261, 52%, 96%)
CMYKcmyk(34.1%, 52.4%, 0%, 3.5%)
CIE-LABlab(59.03, 44.60, -58.62)
CIE-LCHlch(59.03, 73.65, 307.27°)
OKLaboklab(66.53% 0.0851 -0.1658)
OKLCHoklch(66.53% 0.186 297.2)
XYZxyz(37.8920, 27.0573, 90.3971)
Luminance0.2706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A275F6 #C9F675
analogous
#7588F6 #A275F6 #E275F6
triadic
#A275F6 #F6A275 #75F6A2
tetradic
#A275F6 #F67588 #C9F675 #75F6E2
square
#A275F6 #F67588 #C9F675 #75F6E2
split-complementary
#A275F6 #F6E275 #88F675
monochromatic
#580FE2 #7B3CF2 #A275F6 #C9AEFA #ECE2FD

Accessibility & contrast

On white

3.28
#A275F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#A275F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A275F6
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A275F6#FFFFFF#000000##000000
##A275F61.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#418FFA
Deuteranopia (green-blind)
#4E8DF3
Tritanopia (blue-blind)
#8F8FAB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a275f6;
/* rgb */ color: rgb(162, 117, 246);
/* oklch */ color: oklch(66.5% 0.186 297.2);
Tailwind
colors: {
  custom: {
    50: '#c19efa',
    500: '#a275f6',
    950: '#000000',
  },
}
SCSS
$custom: #a275f6;
$custom-light: #c19efa;
$custom-dark: #000000;
JSON
{
  "hex": "#a275f6",
  "rgb": {
    "r": 162,
    "g": 117,
    "b": 246
  },
  "hsl": {
    "h": 260.93,
    "s": 87.755,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66531,
    "c": 0.18633,
    "h": 297.2
  },
  "luminance": 0.27058
}

Semantic roles & 50–950 ramp

primary
#A275F6
secondary
#E9F4D2
accent
#E40195
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A275F6

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

Preview Lab → · Contrast checker → · Palette generator →

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