#A258FA#A258FA

#A258FA is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.6% C 0.231 H 300.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#A258FA
RGBrgb(162, 88, 250)
HSLhsl(267, 94%, 66%)
HSVhsv(267, 65%, 98%)
CMYKcmyk(35.2%, 64.8%, 0%, 2%)
CIE-LABlab(53.56, 60.73, -69.63)
CIE-LCHlch(53.56, 92.39, 311.09°)
OKLaboklab(62.61% 0.1185 -0.1981)
OKLCHoklch(62.61% 0.231 300.9)
XYZxyz(35.6412, 21.5627, 92.7082)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258FA #B0FA58
analogous
#585FFA #A258FA #F358FA
triadic
#A258FA #FAA258 #58FAA2
tetradic
#A258FA #FA585F #B0FA58 #58FAF3
square
#A258FA #FA585F #B0FA58 #58FAF3
split-complementary
#A258FA #FAF358 #5FFA58
monochromatic
#6306D1 #811DF8 #A258FA #C393FC #E4CFFE

Accessibility & contrast

On white

3.95
#A258FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#A258FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258FA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258FA#FFFFFF#000000##000000
##A258FA1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#007FF7
Tritanopia (blue-blind)
#8F7DA2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a258fa;
/* rgb */ color: rgb(162, 88, 250);
/* oklch */ color: oklch(62.6% 0.231 300.9);
Tailwind
colors: {
  custom: {
    50: '#c38bfd',
    500: '#a258fa',
    950: '#000000',
  },
}
SCSS
$custom: #a258fa;
$custom-light: #c38bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a258fa",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 250
  },
  "hsl": {
    "h": 267.407,
    "s": 94.186,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62615,
    "c": 0.2308,
    "h": 300.9
  },
  "luminance": 0.21563
}

Semantic roles & 50–950 ramp

primary
#A258FA
secondary
#D9F1BC
accent
#E6007D
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #A258FA

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

Preview Lab → · Contrast checker → · Palette generator →

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