#B598F9#B598F9

#B598F9 is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.4% C 0.139 H 296.6°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#B598F9
RGBrgb(181, 152, 249)
HSLhsl(258, 89%, 79%)
HSVhsv(258, 39%, 98%)
CMYKcmyk(27.3%, 39%, 0%, 2.4%)
CIE-LABlab(68.84, 30.77, -44.61)
CIE-LCHlch(68.84, 54.19, 304.60°)
OKLaboklab(74.36% 0.0624 -0.1245)
OKLCHoklch(74.36% 0.139 296.6)
XYZxyz(47.3791, 39.1193, 94.6588)
Luminance0.3912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B598F9 #DCF998
analogous
#98ABF9 #B598F9 #E598F9
triadic
#B598F9 #F9B598 #98F9B5
tetradic
#B598F9 #F998AB #DCF998 #98F9E5
square
#B598F9 #F998AB #DCF998 #98F9E5
split-complementary
#B598F9 #F9E598 #ABF998
monochromatic
#6224F2 #8B5EF6 #B598F9 #DFD2FC #EAE2FD

Accessibility & contrast

On white

2.38
#B598F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#B598F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B598F9
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B598F9#FFFFFF#000000##000000
##B598F91.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA8FD
Deuteranopia (green-blind)
#82A7F7
Tritanopia (blue-blind)
#A7A9BD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b598f9;
/* rgb */ color: rgb(181, 152, 249);
/* oklch */ color: oklch(74.4% 0.139 296.6);
Tailwind
colors: {
  custom: {
    50: '#cdb6fb',
    500: '#b598f9',
    950: '#000000',
  },
}
SCSS
$custom: #b598f9;
$custom-light: #cdb6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b598f9",
  "rgb": {
    "r": 181,
    "g": 152,
    "b": 249
  },
  "hsl": {
    "h": 257.938,
    "s": 88.991,
    "l": 78.627
  },
  "oklch": {
    "l": 0.74358,
    "c": 0.13928,
    "h": 296.6
  },
  "luminance": 0.3912
}

Semantic roles & 50–950 ramp

primary
#B598F9
secondary
#ECF5D6
accent
#E600A1
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B598F9

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

Preview Lab → · Contrast checker → · Palette generator →

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