#B299FB#B299FB

#B299FB is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.4% C 0.140 H 294.5°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#B299FB
RGBrgb(178, 153, 251)
HSLhsl(255, 92%, 79%)
HSVhsv(255, 39%, 98%)
CMYKcmyk(29.1%, 39%, 0%, 1.6%)
CIE-LABlab(68.90, 29.87, -45.61)
CIE-LCHlch(68.90, 54.52, 303.22°)
OKLaboklab(74.38% 0.058 -0.1275)
OKLCHoklch(74.38% 0.14 294.5)
XYZxyz(47.1596, 39.2118, 96.3321)
Luminance0.3921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B299FB #E2FB99
analogous
#99B1FB #B299FB #E399FB
triadic
#B299FB #FBB299 #99FBB2
tetradic
#B299FB #FB99B1 #E2FB99 #99FBE3
square
#B299FB #FB99B1 #E2FB99 #99FBE3
split-complementary
#B299FB #FBE399 #B1FB99
monochromatic
#5923F6 #865EF9 #B299FB #DED4FD #E9E2FE

Accessibility & contrast

On white

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

On black

8.84
#B299FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B299FB
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B299FB#FFFFFF#000000##000000
##B299FB1.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b299fb;
/* rgb */ color: rgb(178, 153, 251);
/* oklch */ color: oklch(74.4% 0.140 294.5);
Tailwind
colors: {
  custom: {
    50: '#cbb7fd',
    500: '#b299fb',
    950: '#000000',
  },
}
SCSS
$custom: #b299fb;
$custom-light: #cbb7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b299fb",
  "rgb": {
    "r": 178,
    "g": 153,
    "b": 251
  },
  "hsl": {
    "h": 255.306,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.74376,
    "c": 0.14006,
    "h": 294.5
  },
  "luminance": 0.39212
}

Semantic roles & 50–950 ramp

primary
#B299FB
secondary
#EEF6D5
accent
#E600AB
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #B299FB

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

Preview Lab → · Contrast checker → · Palette generator →

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