#A275EB#A275EB

#A275EB is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.9% C 0.173 H 299.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A275EB
RGBrgb(162, 117, 235)
HSLhsl(263, 75%, 69%)
HSVhsv(263, 50%, 92%)
CMYKcmyk(31.1%, 50.2%, 0%, 7.8%)
CIE-LABlab(58.42, 41.85, -53.49)
CIE-LCHlch(58.42, 67.91, 308.04°)
OKLaboklab(65.88% 0.0843 -0.1507)
OKLCHoklch(65.88% 0.173 299.2)
XYZxyz(36.2534, 26.4018, 81.7672)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A275EB #BEEB75
analogous
#7583EB #A275EB #DD75EB
triadic
#A275EB #EBA275 #75EBA2
tetradic
#A275EB #EB7583 #BEEB75 #75EBDD
square
#A275EB #EB7583 #BEEB75 #75EBDD
split-complementary
#A275EB #EBDD75 #83EB75
monochromatic
#5E1DC9 #7E40E3 #A275EB #C6AAF3 #EAE0FA

Accessibility & contrast

On white

3.34
#A275EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#A275EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A275EB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A275EB#FFFFFF#000000##000000
##A275EB1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8CEF
Deuteranopia (green-blind)
#578CE8
Tritanopia (blue-blind)
#938BA5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a275eb;
/* rgb */ color: rgb(162, 117, 235);
/* oklch */ color: oklch(65.9% 0.173 299.2);
Tailwind
colors: {
  custom: {
    50: '#c19ef2',
    500: '#a275eb',
    950: '#000000',
  },
}
SCSS
$custom: #a275eb;
$custom-light: #c19ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#a275eb",
  "rgb": {
    "r": 162,
    "g": 117,
    "b": 235
  },
  "hsl": {
    "h": 262.881,
    "s": 74.684,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6588,
    "c": 0.17273,
    "h": 299.2
  },
  "luminance": 0.26402
}

Semantic roles & 50–950 ramp

primary
#A275EB
secondary
#E2EFCD
accent
#D70F8A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A275EB

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

Preview Lab → · Contrast checker → · Palette generator →

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