#B299FC#B299FC

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

Color values

HEX#B299FC
RGBrgb(178, 153, 252)
HSLhsl(255, 94%, 79%)
HSVhsv(255, 39%, 99%)
CMYKcmyk(29.4%, 39.3%, 0%, 1.2%)
CIE-LABlab(68.95, 30.11, -46.09)
CIE-LCHlch(68.95, 55.05, 303.16°)
OKLaboklab(74.43% 0.0582 -0.1288)
OKLCHoklch(74.43% 0.141 294.3)
XYZxyz(47.3177, 39.2750, 97.1645)
Luminance0.3928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B299FC #E3FC99
analogous
#99B2FC #B299FC #E499FC
triadic
#B299FC #FCB299 #99FCB2
tetradic
#B299FC #FC99B2 #E3FC99 #99FCE4
square
#B299FC #FC99B2 #E3FC99 #99FCE4
split-complementary
#B299FC #FCE499 #B2FC99
monochromatic
#5822F9 #855EFA #B299FC #DFD4FE #E9E1FE

Accessibility & contrast

On white

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

On black

8.86
#B299FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B299FC
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B299FC#FFFFFF#000000##000000
##B299FC1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b299fc;
/* rgb */ color: rgb(178, 153, 252);
/* oklch */ color: oklch(74.4% 0.141 294.3);
Tailwind
colors: {
  custom: {
    50: '#cbb7fe',
    500: '#b299fc',
    950: '#000000',
  },
}
SCSS
$custom: #b299fc;
$custom-light: #cbb7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b299fc",
  "rgb": {
    "r": 178,
    "g": 153,
    "b": 252
  },
  "hsl": {
    "h": 255.152,
    "s": 94.286,
    "l": 79.412
  },
  "oklch": {
    "l": 0.74425,
    "c": 0.14139,
    "h": 294.3
  },
  "luminance": 0.39276
}

Semantic roles & 50–950 ramp

primary
#B299FC
secondary
#EEF6D5
accent
#E600AC
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #B299FC

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

Preview Lab → · Contrast checker → · Palette generator →

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