#A758F5#A758F5

#A758F5 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.8% C 0.226 H 303.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#A758F5
RGBrgb(167, 88, 245)
HSLhsl(270, 89%, 65%)
HSVhsv(270, 64%, 96%)
CMYKcmyk(31.8%, 64.1%, 0%, 3.9%)
CIE-LABlab(53.80, 60.57, -66.43)
CIE-LCHlch(53.80, 89.90, 312.36°)
OKLaboklab(62.81% 0.1254 -0.1885)
OKLCHoklch(62.81% 0.226 303.6)
XYZxyz(35.9037, 21.7876, 88.6824)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A758F5 #A6F558
analogous
#5858F5 #A758F5 #F558F5
triadic
#A758F5 #F5A758 #58F5A7
tetradic
#A758F5 #F55858 #A6F558 #58F5F5
square
#A758F5 #F55858 #A6F558 #58F5F5
split-complementary
#A758F5 #F5F558 #58F558
monochromatic
#6A0CC7 #891EF2 #A758F5 #C592F8 #E4CBFC

Accessibility & contrast

On white

3.92
#A758F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#A758F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A758F5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A758F5#FFFFFF#000000##000000
##A758F51.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFA
Deuteranopia (green-blind)
#2480F2
Tritanopia (blue-blind)
#987A9F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a758f5;
/* rgb */ color: rgb(167, 88, 245);
/* oklch */ color: oklch(62.8% 0.226 303.6);
Tailwind
colors: {
  custom: {
    50: '#c68cf9',
    500: '#a758f5',
    950: '#000000',
  },
}
SCSS
$custom: #a758f5;
$custom-light: #c68cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#a758f5",
  "rgb": {
    "r": 167,
    "g": 88,
    "b": 245
  },
  "hsl": {
    "h": 270.191,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6281,
    "c": 0.22641,
    "h": 303.6
  },
  "luminance": 0.21788
}

Semantic roles & 50–950 ramp

primary
#A758F5
secondary
#D4EFBA
accent
#E50072
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A758F5

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

Preview Lab → · Contrast checker → · Palette generator →

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