#B299FF#B299FF

#B299FF is a light, vivid violet. Relative luminance 0.395; OKLCH L 74.6% C 0.145 H 293.9°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#B299FF
RGBrgb(178, 153, 255)
HSLhsl(255, 100%, 80%)
HSVhsv(255, 40%, 100%)
CMYKcmyk(30.2%, 40%, 0%, 0%)
CIE-LABlab(69.09, 30.85, -47.50)
CIE-LCHlch(69.09, 56.64, 303.00°)
OKLaboklab(74.58% 0.0588 -0.133)
OKLCHoklch(74.58% 0.145 293.9)
XYZxyz(47.7968, 39.4667, 99.6880)
Luminance0.3947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B299FF #E6FF99
analogous
#99B3FF #B299FF #E599FF
triadic
#B299FF #FFB299 #99FFB2
tetradic
#B299FF #FF99B3 #E6FF99 #99FFE5
square
#B299FF #FF99B3 #E6FF99 #99FFE5
split-complementary
#B299FF #FFE599 #B3FF99
monochromatic
#561FFF #845CFF #B299FF #E0D6FF #E8E0FF

Accessibility & contrast

On white

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

On black

8.89
#B299FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B299FF
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B299FF#FFFFFF#000000##000000
##B299FF1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BAAFF
Deuteranopia (green-blind)
#7EA7FC
Tritanopia (blue-blind)
#A1ABC0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b299ff;
/* rgb */ color: rgb(178, 153, 255);
/* oklch */ color: oklch(74.6% 0.145 293.9);
Tailwind
colors: {
  custom: {
    50: '#cbb7ff',
    500: '#b299ff',
    950: '#000000',
  },
}
SCSS
$custom: #b299ff;
$custom-light: #cbb7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b299ff",
  "rgb": {
    "r": 178,
    "g": 153,
    "b": 255
  },
  "hsl": {
    "h": 254.706,
    "s": 100,
    "l": 80
  },
  "oklch": {
    "l": 0.74575,
    "c": 0.14536,
    "h": 293.9
  },
  "luminance": 0.39467
}

Semantic roles & 50–950 ramp

primary
#B299FF
secondary
#EFF7D4
accent
#E600AD
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #B299FF

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

Preview Lab → · Contrast checker → · Palette generator →

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