#B399FA#B399FA

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

Color values

HEX#B399FA
RGBrgb(179, 153, 250)
HSLhsl(256, 91%, 79%)
HSVhsv(256, 39%, 98%)
CMYKcmyk(28.4%, 38.8%, 0%, 2%)
CIE-LABlab(68.94, 29.90, -45.00)
CIE-LCHlch(68.94, 54.03, 303.60°)
OKLaboklab(74.41% 0.059 -0.1257)
OKLCHoklch(74.41% 0.139 295.1)
XYZxyz(47.2328, 39.2677, 95.5149)
Luminance0.3927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B399FA #E0FA99
analogous
#99B0FA #B399FA #E399FA
triadic
#B399FA #FAB399 #99FAB3
tetradic
#B399FA #FA99B0 #E0FA99 #99FAE3
square
#B399FA #FA99B0 #E0FA99 #99FAE3
split-complementary
#B399FA #FAE399 #B0FA99
monochromatic
#5C24F4 #885FF7 #B399FA #DED3FD #E9E2FE

Accessibility & contrast

On white

2.37
#B399FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#B399FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B399FA
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B399FA#FFFFFF#000000##000000
##B399FA1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA9FE
Deuteranopia (green-blind)
#82A7F8
Tritanopia (blue-blind)
#A4AABE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b399fa;
/* rgb */ color: rgb(179, 153, 250);
/* oklch */ color: oklch(74.4% 0.139 295.1);
Tailwind
colors: {
  custom: {
    50: '#ccb7fc',
    500: '#b399fa',
    950: '#000000',
  },
}
SCSS
$custom: #b399fa;
$custom-light: #ccb7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b399fa",
  "rgb": {
    "r": 179,
    "g": 153,
    "b": 250
  },
  "hsl": {
    "h": 256.082,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.74412,
    "c": 0.13883,
    "h": 295.1
  },
  "luminance": 0.39268
}

Semantic roles & 50–950 ramp

primary
#B399FA
secondary
#EDF6D5
accent
#E600A8
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #B399FA

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

Preview Lab → · Contrast checker → · Palette generator →

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