#A298BC#A298BC

#A298BC is a light, muted violet. Relative luminance 0.338; OKLCH L 70.0% C 0.053 H 297.7°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#A298BC
RGBrgb(162, 152, 188)
HSLhsl(257, 21%, 67%)
HSVhsv(257, 19%, 74%)
CMYKcmyk(13.8%, 19.1%, 0%, 26.3%)
CIE-LABlab(64.78, 10.89, -17.29)
CIE-LCHlch(64.78, 20.43, 302.22°)
OKLaboklab(70.05% 0.0247 -0.047)
OKLCHoklch(70.05% 0.053 297.7)
XYZxyz(35.2038, 33.7686, 52.2305)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A298BC #B2BC98
analogous
#98A0BC #A298BC #B498BC
triadic
#A298BC #BCA298 #98BCA2
tetradic
#A298BC #BC98A0 #B2BC98 #98BCB4
square
#A298BC #BC98A0 #B2BC98 #98BCB4
split-complementary
#A298BC #BCB498 #A0BC98
monochromatic
#635684 #8173A4 #A298BC #C3BDD4 #E5E2EC

Accessibility & contrast

On white

2.71
#A298BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#A298BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A298BC
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A298BC#FFFFFF#000000##000000
##A298BC1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#919DBE
Deuteranopia (green-blind)
#929DBB
Tritanopia (blue-blind)
#9E9DA4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a298bc;
/* rgb */ color: rgb(162, 152, 188);
/* oklch */ color: oklch(70.0% 0.053 297.7);
Tailwind
colors: {
  custom: {
    50: '#bdb6d0',
    500: '#a298bc',
    950: '#000000',
  },
}
SCSS
$custom: #a298bc;
$custom-light: #bdb6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a298bc",
  "rgb": {
    "r": 162,
    "g": 152,
    "b": 188
  },
  "hsl": {
    "h": 256.667,
    "s": 21.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70049,
    "c": 0.05308,
    "h": 297.7
  },
  "luminance": 0.33769
}

Semantic roles & 50–950 ramp

primary
#A298BC
secondary
#DADED2
accent
#A04687
background
#FBFBFC
surface
#F6F6F9
border
#D0D0D2
text
#121114
muted
#818082

Preview Lab

Preview with #A298BC

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

Preview Lab → · Contrast checker → · Palette generator →

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