#B097E4#B097E4

#B097E4 is a light, moderate violet. Relative luminance 0.370; OKLCH L 72.7% C 0.112 H 298.5°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#B097E4
RGBrgb(176, 151, 228)
HSLhsl(259, 59%, 74%)
HSVhsv(259, 34%, 89%)
CMYKcmyk(22.8%, 33.8%, 0%, 10.6%)
CIE-LABlab(67.25, 24.91, -35.61)
CIE-LCHlch(67.25, 43.46, 304.98°)
OKLaboklab(72.75% 0.0536 -0.0987)
OKLCHoklch(72.75% 0.112 298.5)
XYZxyz(42.9716, 36.9645, 78.2547)
Luminance0.3696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B097E4 #CBE497
analogous
#97A5E4 #B097E4 #D797E4
triadic
#B097E4 #E4B097 #97E4B0
tetradic
#B097E4 #E497A5 #CBE497 #97E4D7
square
#B097E4 #E497A5 #CBE497 #97E4D7
split-complementary
#B097E4 #E4D797 #A5E497
monochromatic
#6636CB #8B66D7 #B097E4 #D5C8F1 #EDE7F9

Accessibility & contrast

On white

2.50
#B097E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#B097E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B097E4
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B097E4#FFFFFF#000000##000000
##B097E41.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A4E7
Deuteranopia (green-blind)
#89A3E2
Tritanopia (blue-blind)
#A6A3B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b097e4;
/* rgb */ color: rgb(176, 151, 228);
/* oklch */ color: oklch(72.7% 0.112 298.5);
Tailwind
colors: {
  custom: {
    50: '#c9b5ec',
    500: '#b097e4',
    950: '#000000',
  },
}
SCSS
$custom: #b097e4;
$custom-light: #c9b5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b097e4",
  "rgb": {
    "r": 176,
    "g": 151,
    "b": 228
  },
  "hsl": {
    "h": 259.481,
    "s": 58.779,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72745,
    "c": 0.11227,
    "h": 298.5
  },
  "luminance": 0.36965
}

Semantic roles & 50–950 ramp

primary
#B097E4
secondary
#E9F0DB
accent
#C61F90
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B097E4

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

Preview Lab → · Contrast checker → · Palette generator →

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