#A258F2#A258F2

#A258F2 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.1% C 0.222 H 302.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A258F2
RGBrgb(162, 88, 242)
HSLhsl(269, 86%, 65%)
HSVhsv(269, 64%, 95%)
CMYKcmyk(33.1%, 63.6%, 0%, 5.1%)
CIE-LABlab(53.03, 58.84, -66.03)
CIE-LCHlch(53.03, 88.44, 311.70°)
OKLaboklab(62.06% 0.1192 -0.1875)
OKLCHoklch(62.06% 0.222 302.4)
XYZxyz(34.4133, 21.0716, 86.2414)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258F2 #A8F258
analogous
#585BF2 #A258F2 #EF58F2
triadic
#A258F2 #F2A258 #58F2A2
tetradic
#A258F2 #F2585B #A8F258 #58F2EF
square
#A258F2 #F2585B #A8F258 #58F2EF
split-complementary
#A258F2 #F2EF58 #5BF258
monochromatic
#640FC1 #821FEE #A258F2 #C291F6 #E1CAFB

Accessibility & contrast

On white

4.03
#A258F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#A258F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258F2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258F2#FFFFFF#000000##000000
##A258F21.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#207EEF
Tritanopia (blue-blind)
#927A9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a258f2;
/* rgb */ color: rgb(162, 88, 242);
/* oklch */ color: oklch(62.1% 0.222 302.4);
Tailwind
colors: {
  custom: {
    50: '#c38bf7',
    500: '#a258f2',
    950: '#000000',
  },
}
SCSS
$custom: #a258f2;
$custom-light: #c38bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#a258f2",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 268.831,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62063,
    "c": 0.22219,
    "h": 302.4
  },
  "luminance": 0.21072
}

Semantic roles & 50–950 ramp

primary
#A258F2
secondary
#D4EDB8
accent
#E20377
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A258F2

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

Preview Lab → · Contrast checker → · Palette generator →

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