#A298E7#A298E7

#A298E7 is a light, moderate blue. Relative luminance 0.359; OKLCH L 71.9% C 0.114 H 289.0°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#A298E7
RGBrgb(162, 152, 231)
HSLhsl(248, 62%, 75%)
HSVhsv(248, 34%, 91%)
CMYKcmyk(29.9%, 34.2%, 0%, 9.4%)
CIE-LABlab(66.45, 21.02, -38.60)
CIE-LCHlch(66.45, 43.95, 298.57°)
OKLaboklab(71.89% 0.037 -0.1075)
OKLCHoklch(71.89% 0.114 289)
XYZxyz(40.5486, 35.9065, 80.3801)
Luminance0.3591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A298E7 #DDE798
analogous
#98B5E7 #A298E7 #CA98E7
triadic
#A298E7 #E7A298 #98E7A2
tetradic
#A298E7 #E798B5 #DDE798 #98E7CA
square
#A298E7 #E798B5 #DDE798 #98E7CA
split-complementary
#A298E7 #E7CA98 #B5E798
monochromatic
#4835D0 #7566DB #A298E7 #CFCAF3 #E9E6F9

Accessibility & contrast

On white

2.57
#A298E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#A298E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A298E7
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A298E7#FFFFFF#000000##000000
##A298E71.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A3EA
Deuteranopia (green-blind)
#81A0E5
Tritanopia (blue-blind)
#92A6B5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a298e7;
/* rgb */ color: rgb(162, 152, 231);
/* oklch */ color: oklch(71.9% 0.114 289.0);
Tailwind
colors: {
  custom: {
    50: '#bfb6ef',
    500: '#a298e7',
    950: '#000000',
  },
}
SCSS
$custom: #a298e7;
$custom-light: #bfb6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a298e7",
  "rgb": {
    "r": 162,
    "g": 152,
    "b": 231
  },
  "hsl": {
    "h": 247.595,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71888,
    "c": 0.11372,
    "h": 289
  },
  "luminance": 0.35907
}

Semantic roles & 50–950 ramp

primary
#A298E7
secondary
#EEF1DA
accent
#CA1CB4
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #A298E7

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

Preview Lab → · Contrast checker → · Palette generator →

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