#A758D7#A758D7

#A758D7 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.9% C 0.195 H 310.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A758D7
RGBrgb(167, 88, 215)
HSLhsl(277, 61%, 59%)
HSVhsv(277, 59%, 84%)
CMYKcmyk(22.3%, 59.1%, 0%, 15.7%)
CIE-LABlab(51.95, 53.81, -52.52)
CIE-LCHlch(51.95, 75.19, 315.70°)
OKLaboklab(60.88% 0.1266 -0.1477)
OKLCHoklch(60.88% 0.195 310.6)
XYZxyz(31.6895, 20.1019, 66.4875)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A758D7 #88D758
analogous
#6858D7 #A758D7 #D758C8
triadic
#A758D7 #D7A758 #58D7A7
tetradic
#A758D7 #D76858 #88D758 #58C8D7
square
#A758D7 #D76858 #88D758 #58C8D7
split-complementary
#A758D7 #C8D758 #58D768
monochromatic
#682392 #8B2FC3 #A758D7 #C189E3 #DBBBEF

Accessibility & contrast

On white

4.18
#A758D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A758D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A758D7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A758D7#FFFFFF#000000##000000
##A758D71.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2978DB
Deuteranopia (green-blind)
#4B7DD4
Tritanopia (blue-blind)
#A1708F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a758d7;
/* rgb */ color: rgb(167, 88, 215);
/* oklch */ color: oklch(60.9% 0.195 310.6);
Tailwind
colors: {
  custom: {
    50: '#c48be4',
    500: '#a758d7',
    950: '#000000',
  },
}
SCSS
$custom: #a758d7;
$custom-light: #c48be4;
$custom-dark: #000000;
JSON
{
  "hex": "#a758d7",
  "rgb": {
    "r": 167,
    "g": 88,
    "b": 215
  },
  "hsl": {
    "h": 277.323,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60879,
    "c": 0.19452,
    "h": 310.6
  },
  "luminance": 0.20101
}

Semantic roles & 50–950 ramp

primary
#A758D7
secondary
#BFDEAD
accent
#E44380
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A758D7

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

Preview Lab → · Contrast checker → · Palette generator →

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