#B299FE#B299FE

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

Color values

HEX#B299FE
RGBrgb(178, 153, 254)
HSLhsl(255, 98%, 80%)
HSVhsv(255, 40%, 100%)
CMYKcmyk(29.9%, 39.8%, 0%, 0.4%)
CIE-LABlab(69.04, 30.60, -47.03)
CIE-LCHlch(69.04, 56.11, 303.05°)
OKLaboklab(74.52% 0.0586 -0.1316)
OKLCHoklch(74.52% 0.144 294)
XYZxyz(47.6363, 39.4024, 98.8424)
Luminance0.3940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B299FE #E5FE99
analogous
#99B3FE #B299FE #E499FE
triadic
#B299FE #FEB299 #99FEB2
tetradic
#B299FE #FE99B3 #E5FE99 #99FEE4
square
#B299FE #FE99B3 #E5FE99 #99FEE4
split-complementary
#B299FE #FEE499 #B3FE99
monochromatic
#5620FD #845CFD #B299FE #E0D6FF #E8E1FF

Accessibility & contrast

On white

2.36
#B299FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B299FE#FFFFFF#000000##000000
##B299FE1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#7FA7FB
Tritanopia (blue-blind)
#A1ABBF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b299fe;
/* rgb */ color: rgb(178, 153, 254);
/* oklch */ color: oklch(74.5% 0.144 294.0);
Tailwind
colors: {
  custom: {
    50: '#cbb7ff',
    500: '#b299fe',
    950: '#000000',
  },
}
SCSS
$custom: #b299fe;
$custom-light: #cbb7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b299fe",
  "rgb": {
    "r": 178,
    "g": 153,
    "b": 254
  },
  "hsl": {
    "h": 254.851,
    "s": 98.058,
    "l": 79.804
  },
  "oklch": {
    "l": 0.74525,
    "c": 0.14404,
    "h": 294
  },
  "luminance": 0.39403
}

Semantic roles & 50–950 ramp

primary
#B299FE
secondary
#EEF7D4
accent
#E600AD
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #B299FE

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

Preview Lab → · Contrast checker → · Palette generator →

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