#B397FF#B397FF

#B397FF is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.3% C 0.148 H 294.9°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#B397FF
RGBrgb(179, 151, 255)
HSLhsl(256, 100%, 80%)
HSVhsv(256, 41%, 100%)
CMYKcmyk(29.8%, 40.8%, 0%, 0%)
CIE-LABlab(68.70, 32.24, -48.10)
CIE-LCHlch(68.70, 57.90, 303.83°)
OKLaboklab(74.31% 0.0626 -0.1347)
OKLCHoklch(74.31% 0.148 294.9)
XYZxyz(47.7026, 38.9362, 99.5906)
Luminance0.3894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B397FF #E3FF97
analogous
#97AFFF #B397FF #E797FF
triadic
#B397FF #FFB397 #97FFB3
tetradic
#B397FF #FF97AF #E3FF97 #97FFE7
square
#B397FF #FF97AF #E3FF97 #97FFE7
split-complementary
#B397FF #FFE797 #AFFF97
monochromatic
#5A1DFF #865AFF #B397FF #E0D4FF #E9E0FF

Accessibility & contrast

On white

2.39
#B397FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#B397FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B397FF
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B397FF#FFFFFF#000000##000000
##B397FF1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A9FF
Deuteranopia (green-blind)
#7DA6FC
Tritanopia (blue-blind)
#A2AABF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b397ff;
/* rgb */ color: rgb(179, 151, 255);
/* oklch */ color: oklch(74.3% 0.148 294.9);
Tailwind
colors: {
  custom: {
    50: '#ccb6ff',
    500: '#b397ff',
    950: '#000000',
  },
}
SCSS
$custom: #b397ff;
$custom-light: #ccb6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b397ff",
  "rgb": {
    "r": 179,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 256.154,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.74306,
    "c": 0.14849,
    "h": 294.9
  },
  "luminance": 0.38937
}

Semantic roles & 50–950 ramp

primary
#B397FF
secondary
#EEF7D4
accent
#E600A8
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B397FF

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

Preview Lab → · Contrast checker → · Palette generator →

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