#B399FC#B399FC

#B399FC is a light, vivid violet. Relative luminance 0.394; OKLCH L 74.5% C 0.141 H 294.8°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#B399FC
RGBrgb(179, 153, 252)
HSLhsl(256, 94%, 79%)
HSVhsv(256, 39%, 99%)
CMYKcmyk(29%, 39.3%, 0%, 1.2%)
CIE-LABlab(69.04, 30.39, -45.95)
CIE-LCHlch(69.04, 55.08, 303.48°)
OKLaboklab(74.51% 0.0594 -0.1284)
OKLCHoklch(74.51% 0.141 294.8)
XYZxyz(47.5480, 39.3938, 97.1753)
Luminance0.3939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B399FC #E2FC99
analogous
#99B1FC #B399FC #E599FC
triadic
#B399FC #FCB399 #99FCB3
tetradic
#B399FC #FC99B1 #E2FC99 #99FCE5
square
#B399FC #FC99B1 #E2FC99 #99FCE5
split-complementary
#B399FC #FCE599 #B1FC99
monochromatic
#5A22F9 #875EFA #B399FC #DFD4FE #E9E1FE

Accessibility & contrast

On white

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

On black

8.88
#B399FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B399FC
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B399FC#FFFFFF#000000##000000
##B399FC1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FF
Deuteranopia (green-blind)
#81A7F9
Tritanopia (blue-blind)
#A3ABBF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b399fc;
/* rgb */ color: rgb(179, 153, 252);
/* oklch */ color: oklch(74.5% 0.141 294.8);
Tailwind
colors: {
  custom: {
    50: '#ccb7fe',
    500: '#b399fc',
    950: '#000000',
  },
}
SCSS
$custom: #b399fc;
$custom-light: #ccb7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b399fc",
  "rgb": {
    "r": 179,
    "g": 153,
    "b": 252
  },
  "hsl": {
    "h": 255.758,
    "s": 94.286,
    "l": 79.412
  },
  "oklch": {
    "l": 0.74511,
    "c": 0.14147,
    "h": 294.8
  },
  "luminance": 0.39394
}

Semantic roles & 50–950 ramp

primary
#B399FC
secondary
#EDF6D5
accent
#E600A9
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B399FC

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

Preview Lab → · Contrast checker → · Palette generator →

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