#998FF2#998FF2

#998FF2 is a light, vivid blue. Relative luminance 0.328; OKLCH L 70.0% C 0.142 H 286.7°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#998FF2
RGBrgb(153, 143, 242)
HSLhsl(246, 79%, 75%)
HSVhsv(246, 41%, 95%)
CMYKcmyk(36.8%, 40.9%, 0%, 5.1%)
CIE-LABlab(64.02, 26.57, -48.52)
CIE-LCHlch(64.02, 55.32, 298.71°)
OKLaboklab(70.02% 0.041 -0.1365)
OKLCHoklch(70.02% 0.142 286.7)
XYZxyz(38.9819, 32.8268, 88.2695)
Luminance0.3283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998FF2 #E8F28F
analogous
#8FB6F2 #998FF2 #CB8FF2
triadic
#998FF2 #F2998F #8FF299
tetradic
#998FF2 #F28FB6 #E8F28F #8FF2CB
square
#998FF2 #F28FB6 #E8F28F #8FF2CB
split-complementary
#998FF2 #F2CB8F #B6F28F
monochromatic
#3521E5 #6758EC #998FF2 #CBC6F8 #E6E4FC

Accessibility & contrast

On white

2.78
#998FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#998FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998FF2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998FF2#FFFFFF#000000##000000
##998FF21.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#6C98F0
Tritanopia (blue-blind)
#81A2B5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #998ff2;
/* rgb */ color: rgb(153, 143, 242);
/* oklch */ color: oklch(70.0% 0.142 286.7);
Tailwind
colors: {
  custom: {
    50: '#baaff7',
    500: '#998ff2',
    950: '#000000',
  },
}
SCSS
$custom: #998ff2;
$custom-light: #baaff7;
$custom-dark: #000000;
JSON
{
  "hex": "#998ff2",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 246.061,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70024,
    "c": 0.14249,
    "h": 286.7
  },
  "luminance": 0.32828
}

Semantic roles & 50–950 ramp

primary
#998FF2
secondary
#F1F4D7
accent
#DB0AC6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #998FF2

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

Preview Lab → · Contrast checker → · Palette generator →

#998FF2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva