#B097EA#B097EA

#B097EA is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.0% C 0.120 H 297.2°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#B097EA
RGBrgb(176, 151, 234)
HSLhsl(258, 66%, 75%)
HSVhsv(258, 35%, 92%)
CMYKcmyk(24.8%, 35.5%, 0%, 8.2%)
CIE-LABlab(67.50, 26.33, -38.52)
CIE-LCHlch(67.50, 46.66, 304.35°)
OKLaboklab(73.02% 0.055 -0.107)
OKLCHoklch(73.02% 0.12 297.2)
XYZxyz(43.8190, 37.3035, 82.7177)
Luminance0.3730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B097EA #D1EA97
analogous
#97A7EA #B097EA #D997EA
triadic
#B097EA #EAB097 #97EAB0
tetradic
#B097EA #EA97A7 #D1EA97 #97EAD9
square
#B097EA #EA97A7 #D1EA97 #97EAD9
split-complementary
#B097EA #EAD997 #A7EA97
monochromatic
#6331D5 #8964E0 #B097EA #D7CAF4 #ECE6FA

Accessibility & contrast

On white

2.48
#B097EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#B097EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B097EA
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B097EA#FFFFFF#000000##000000
##B097EA1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5ED
Deuteranopia (green-blind)
#86A3E8
Tritanopia (blue-blind)
#A5A5B6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b097ea;
/* rgb */ color: rgb(176, 151, 234);
/* oklch */ color: oklch(73.0% 0.120 297.2);
Tailwind
colors: {
  custom: {
    50: '#c9b5f1',
    500: '#b097ea',
    950: '#000000',
  },
}
SCSS
$custom: #b097ea;
$custom-light: #c9b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b097ea",
  "rgb": {
    "r": 176,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 258.072,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73022,
    "c": 0.1203,
    "h": 297.2
  },
  "luminance": 0.37304
}

Semantic roles & 50–950 ramp

primary
#B097EA
secondary
#EAF1DA
accent
#CE1797
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B097EA

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

Preview Lab → · Contrast checker → · Palette generator →

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