#B399EA#B399EA

#B399EA is a light, moderate violet. Relative luminance 0.383; OKLCH L 73.7% C 0.118 H 298.2°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#B399EA
RGBrgb(179, 153, 234)
HSLhsl(259, 66%, 76%)
HSVhsv(259, 35%, 92%)
CMYKcmyk(23.5%, 34.6%, 0%, 8.2%)
CIE-LABlab(68.25, 26.08, -37.34)
CIE-LCHlch(68.25, 45.55, 304.93°)
OKLaboklab(73.65% 0.0556 -0.1036)
OKLCHoklch(73.65% 0.118 298.2)
XYZxyz(44.8296, 38.3064, 82.8580)
Luminance0.3831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B399EA #D0EA99
analogous
#99A7EA #B399EA #DB99EA
triadic
#B399EA #EAB399 #99EAB3
tetradic
#B399EA #EA99A7 #D0EA99 #99EADB
square
#B399EA #EA99A7 #D0EA99 #99EADB
split-complementary
#B399EA #EADB99 #A7EA99
monochromatic
#6733D5 #8D66E0 #B399EA #D9CCF4 #ECE6FA

Accessibility & contrast

On white

2.42
#B399EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#B399EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B399EA
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B399EA#FFFFFF#000000##000000
##B399EA1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A6ED
Deuteranopia (green-blind)
#8AA6E8
Tritanopia (blue-blind)
#A9A6B7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b399ea;
/* rgb */ color: rgb(179, 153, 234);
/* oklch */ color: oklch(73.7% 0.118 298.2);
Tailwind
colors: {
  custom: {
    50: '#cbb7f1',
    500: '#b399ea',
    950: '#000000',
  },
}
SCSS
$custom: #b399ea;
$custom-light: #cbb7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b399ea",
  "rgb": {
    "r": 179,
    "g": 153,
    "b": 234
  },
  "hsl": {
    "h": 259.259,
    "s": 65.854,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73651,
    "c": 0.11756,
    "h": 298.2
  },
  "luminance": 0.38307
}

Semantic roles & 50–950 ramp

primary
#B399EA
secondary
#EAF1DA
accent
#CE1893
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B399EA

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

Preview Lab → · Contrast checker → · Palette generator →

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