#A758E3#A758E3

#A758E3 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.6% C 0.207 H 307.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A758E3
RGBrgb(167, 88, 227)
HSLhsl(274, 71%, 62%)
HSVhsv(274, 61%, 89%)
CMYKcmyk(26.4%, 61.2%, 0%, 11%)
CIE-LABlab(52.67, 56.47, -58.17)
CIE-LCHlch(52.67, 81.07, 314.15°)
OKLaboklab(61.63% 0.1264 -0.1643)
OKLCHoklch(61.63% 0.207 307.6)
XYZxyz(33.2883, 20.7414, 74.9080)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A758E3 #94E358
analogous
#6258E3 #A758E3 #E358D9
triadic
#A758E3 #E3A758 #58E3A7
tetradic
#A758E3 #E36258 #94E358 #58D9E3
square
#A758E3 #E36258 #94E358 #58D9E3
split-complementary
#A758E3 #D9E358 #58E362
monochromatic
#6A1CA5 #8B24D9 #A758E3 #C38CEC #DEC1F5

Accessibility & contrast

On white

4.08
#A758E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#A758E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A758E3
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A758E3#FFFFFF#000000##000000
##A758E31.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7BE7
Deuteranopia (green-blind)
#407EE0
Tritanopia (blue-blind)
#9E7495
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a758e3;
/* rgb */ color: rgb(167, 88, 227);
/* oklch */ color: oklch(61.6% 0.207 307.6);
Tailwind
colors: {
  custom: {
    50: '#c58bec',
    500: '#a758e3',
    950: '#000000',
  },
}
SCSS
$custom: #a758e3;
$custom-light: #c58bec;
$custom-dark: #000000;
JSON
{
  "hex": "#a758e3",
  "rgb": {
    "r": 167,
    "g": 88,
    "b": 227
  },
  "hsl": {
    "h": 274.101,
    "s": 71.282,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61627,
    "c": 0.20728,
    "h": 307.6
  },
  "luminance": 0.20741
}

Semantic roles & 50–950 ramp

primary
#A758E3
secondary
#C8E5B2
accent
#D31266
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A758E3

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

Preview Lab → · Contrast checker → · Palette generator →

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