#A175F2#A175F2

#A175F2 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.2% C 0.181 H 297.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A175F2
RGBrgb(161, 117, 242)
HSLhsl(261, 83%, 70%)
HSVhsv(261, 52%, 95%)
CMYKcmyk(33.5%, 51.7%, 0%, 5.1%)
CIE-LABlab(58.70, 43.35, -56.92)
CIE-LCHlch(58.70, 71.55, 307.29°)
OKLaboklab(66.2% 0.0836 -0.1608)
OKLCHoklch(66.2% 0.181 297.5)
XYZxyz(37.0823, 26.7100, 87.1890)
Luminance0.2671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A175F2 #C6F275
analogous
#7587F2 #A175F2 #DF75F2
triadic
#A175F2 #F2A175 #75F2A1
tetradic
#A175F2 #F27587 #C6F275 #75F2DF
square
#A175F2 #F27587 #C6F275 #75F2DF
split-complementary
#A175F2 #F2DF75 #87F275
monochromatic
#5914D8 #7B3DED #A175F2 #C7ADF7 #ECE3FC

Accessibility & contrast

On white

3.31
#A175F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#A175F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A175F2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A175F2#FFFFFF#000000##000000
##A175F21.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#458EF6
Deuteranopia (green-blind)
#518CEF
Tritanopia (blue-blind)
#8F8EA9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a175f2;
/* rgb */ color: rgb(161, 117, 242);
/* oklch */ color: oklch(66.2% 0.181 297.5);
Tailwind
colors: {
  custom: {
    50: '#c09ef7',
    500: '#a175f2',
    950: '#000000',
  },
}
SCSS
$custom: #a175f2;
$custom-light: #c09ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#a175f2",
  "rgb": {
    "r": 161,
    "g": 117,
    "b": 242
  },
  "hsl": {
    "h": 261.12,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66196,
    "c": 0.18127,
    "h": 297.5
  },
  "luminance": 0.2671
}

Semantic roles & 50–950 ramp

primary
#A175F2
secondary
#E6F3D0
accent
#DF0693
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A175F2

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

Preview Lab → · Contrast checker → · Palette generator →

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