#A58FEF#A58FEF

#A58FEF is a light, vivid violet. Relative luminance 0.339; OKLCH L 70.9% C 0.138 H 293.1°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#A58FEF
RGBrgb(165, 143, 239)
HSLhsl(254, 75%, 75%)
HSVhsv(254, 40%, 94%)
CMYKcmyk(31%, 40.2%, 0%, 6.3%)
CIE-LABlab(64.86, 28.98, -45.47)
CIE-LCHlch(64.86, 53.92, 302.51°)
OKLaboklab(70.86% 0.0542 -0.1273)
OKLCHoklch(70.86% 0.138 293.1)
XYZxyz(40.9156, 33.8755, 86.0276)
Luminance0.3388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A58FEF #D9EF8F
analogous
#8FA9EF #A58FEF #D58FEF
triadic
#A58FEF #EFA58F #8FEFA5
tetradic
#A58FEF #EF8FA9 #D9EF8F #8FEFD5
square
#A58FEF #EF8FA9 #D9EF8F #8FEFD5
split-complementary
#A58FEF #EFD58F #A9EF8F
monochromatic
#4F24E0 #7A59E7 #A58FEF #D0C5F7 #E9E4FB

Accessibility & contrast

On white

2.70
#A58FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#A58FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A58FEF
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A58FEF#FFFFFF#000000##000000
##A58FEF1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#729FF3
Deuteranopia (green-blind)
#759CED
Tritanopia (blue-blind)
#94A0B4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a58fef;
/* rgb */ color: rgb(165, 143, 239);
/* oklch */ color: oklch(70.9% 0.138 293.1);
Tailwind
colors: {
  custom: {
    50: '#c2b0f4',
    500: '#a58fef',
    950: '#000000',
  },
}
SCSS
$custom: #a58fef;
$custom-light: #c2b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a58fef",
  "rgb": {
    "r": 165,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 253.75,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70858,
    "c": 0.13841,
    "h": 293.1
  },
  "luminance": 0.33876
}

Semantic roles & 50–950 ramp

primary
#A58FEF
secondary
#EDF3D8
accent
#D70EA9
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A58FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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