#A258CB#A258CB

#A258CB is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.6% C 0.180 H 311.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A258CB
RGBrgb(162, 88, 203)
HSLhsl(279, 53%, 57%)
HSVhsv(279, 57%, 80%)
CMYKcmyk(20.2%, 56.7%, 0%, 20.4%)
CIE-LABlab(50.66, 49.94, -47.77)
CIE-LCHlch(50.66, 69.11, 316.27°)
OKLaboklab(59.58% 0.1201 -0.134)
OKLCHoklch(59.58% 0.18 311.9)
XYZxyz(29.1676, 18.9733, 58.6140)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258CB #81CB58
analogous
#6958CB #A258CB #CB58BA
triadic
#A258CB #CBA258 #58CBA2
tetradic
#A258CB #CB6958 #81CB58 #58BACB
square
#A258CB #CB6958 #81CB58 #58BACB
split-complementary
#A258CB #BACB58 #58CB69
monochromatic
#612881 #8437AF #A258CB #BC87DA #D6B5E8

Accessibility & contrast

On white

4.38
#A258CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#A258CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258CB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258CB#FFFFFF#000000##000000
##A258CB1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3575CF
Deuteranopia (green-blind)
#507AC8
Tritanopia (blue-blind)
#9D6C89
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a258cb;
/* rgb */ color: rgb(162, 88, 203);
/* oklch */ color: oklch(59.6% 0.180 311.9);
Tailwind
colors: {
  custom: {
    50: '#c08adb',
    500: '#a258cb',
    950: '#000000',
  },
}
SCSS
$custom: #a258cb;
$custom-light: #c08adb;
$custom-dark: #000000;
JSON
{
  "hex": "#a258cb",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 278.609,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59579,
    "c": 0.17989,
    "h": 311.9
  },
  "luminance": 0.18973
}

Semantic roles & 50–950 ramp

primary
#A258CB
secondary
#B9D7A8
accent
#DC4C7F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A258CB

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

Preview Lab → · Contrast checker → · Palette generator →

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