#A258CF#A258CF

#A258CF is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.8% C 0.184 H 310.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A258CF
RGBrgb(162, 88, 207)
HSLhsl(277, 55%, 58%)
HSVhsv(277, 57%, 81%)
CMYKcmyk(21.7%, 57.5%, 0%, 18.8%)
CIE-LABlab(50.88, 50.82, -49.70)
CIE-LCHlch(50.88, 71.09, 315.64°)
OKLaboklab(59.82% 0.1202 -0.1396)
OKLCHoklch(59.82% 0.184 310.7)
XYZxyz(29.6504, 19.1664, 61.1569)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258CF #85CF58
analogous
#6658CF #A258CF #CF58C0
triadic
#A258CF #CFA258 #58CFA2
tetradic
#A258CF #CF6658 #85CF58 #58C0CF
square
#A258CF #CF6658 #85CF58 #58C0CF
split-complementary
#A258CF #C0CF58 #58CF66
monochromatic
#622786 #8534B6 #A258CF #BC88DD #D7B7EA

Accessibility & contrast

On white

4.34
#A258CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#A258CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258CF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258CF#FFFFFF#000000##000000
##A258CF1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3076D3
Deuteranopia (green-blind)
#4D7BCC
Tritanopia (blue-blind)
#9C6E8B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a258cf;
/* rgb */ color: rgb(162, 88, 207);
/* oklch */ color: oklch(59.8% 0.184 310.7);
Tailwind
colors: {
  custom: {
    50: '#c08ade',
    500: '#a258cf',
    950: '#000000',
  },
}
SCSS
$custom: #a258cf;
$custom-light: #c08ade;
$custom-dark: #000000;
JSON
{
  "hex": "#a258cf",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 277.311,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59817,
    "c": 0.18423,
    "h": 310.7
  },
  "luminance": 0.19166
}

Semantic roles & 50–950 ramp

primary
#A258CF
secondary
#BCD9AA
accent
#DF4982
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A258CF

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

Preview Lab → · Contrast checker → · Palette generator →

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