#A275EF#A275EF

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

Color values

HEX#A275EF
RGBrgb(162, 117, 239)
HSLhsl(262, 79%, 70%)
HSVhsv(262, 51%, 94%)
CMYKcmyk(32.2%, 51%, 0%, 6.3%)
CIE-LABlab(58.64, 42.84, -55.36)
CIE-LCHlch(58.64, 70.00, 307.74°)
OKLaboklab(66.11% 0.0846 -0.1562)
OKLCHoklch(66.11% 0.178 298.4)
XYZxyz(36.8378, 26.6356, 84.8450)
Luminance0.2664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A275EF #C2EF75
analogous
#7585EF #A275EF #DF75EF
triadic
#A275EF #EFA275 #75EFA2
tetradic
#A275EF #EF7585 #C2EF75 #75EFDF
square
#A275EF #EF7585 #C2EF75 #75EFDF
split-complementary
#A275EF #EFDF75 #85EF75
monochromatic
#5D18D1 #7D3EE9 #A275EF #C7ACF5 #ECE3FC

Accessibility & contrast

On white

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

On black

6.33
#A275EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A275EF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A275EF#FFFFFF#000000##000000
##A275EF1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#488DF3
Deuteranopia (green-blind)
#548CEC
Tritanopia (blue-blind)
#928DA7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a275ef;
/* rgb */ color: rgb(162, 117, 239);
/* oklch */ color: oklch(66.1% 0.178 298.4);
Tailwind
colors: {
  custom: {
    50: '#c19ef5',
    500: '#a275ef',
    950: '#000000',
  },
}
SCSS
$custom: #a275ef;
$custom-light: #c19ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#a275ef",
  "rgb": {
    "r": 162,
    "g": 117,
    "b": 239
  },
  "hsl": {
    "h": 262.131,
    "s": 79.221,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66113,
    "c": 0.17769,
    "h": 298.4
  },
  "luminance": 0.26636
}

Semantic roles & 50–950 ramp

primary
#A275EF
secondary
#E4F1CF
accent
#DC0A8E
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A275EF

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

Preview Lab → · Contrast checker → · Palette generator →

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