#B299FD#B299FD

#B299FD is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.5% C 0.143 H 294.2°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#B299FD
RGBrgb(178, 153, 253)
HSLhsl(255, 96%, 80%)
HSVhsv(255, 40%, 99%)
CMYKcmyk(29.6%, 39.5%, 0%, 0.8%)
CIE-LABlab(69.00, 30.36, -46.56)
CIE-LCHlch(69.00, 55.58, 303.11°)
OKLaboklab(74.48% 0.0584 -0.1302)
OKLCHoklch(74.48% 0.143 294.2)
XYZxyz(47.4766, 39.3386, 98.0012)
Luminance0.3934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B299FD #E4FD99
analogous
#99B2FD #B299FD #E499FD
triadic
#B299FD #FDB299 #99FDB2
tetradic
#B299FD #FD99B2 #E4FD99 #99FDE4
square
#B299FD #FD99B2 #E4FD99 #99FDE4
split-complementary
#B299FD #FDE499 #B2FD99
monochromatic
#5721FB #855DFC #B299FD #DFD5FE #E8E1FE

Accessibility & contrast

On white

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

On black

8.87
#B299FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B299FD
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B299FD#FFFFFF#000000##000000
##B299FD1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#7FA7FA
Tritanopia (blue-blind)
#A2ABBF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b299fd;
/* rgb */ color: rgb(178, 153, 253);
/* oklch */ color: oklch(74.5% 0.143 294.2);
Tailwind
colors: {
  custom: {
    50: '#cbb7fe',
    500: '#b299fd',
    950: '#000000',
  },
}
SCSS
$custom: #b299fd;
$custom-light: #cbb7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b299fd",
  "rgb": {
    "r": 178,
    "g": 153,
    "b": 253
  },
  "hsl": {
    "h": 255,
    "s": 96.154,
    "l": 79.608
  },
  "oklch": {
    "l": 0.74475,
    "c": 0.14271,
    "h": 294.2
  },
  "luminance": 0.39339
}

Semantic roles & 50–950 ramp

primary
#B299FD
secondary
#EEF7D4
accent
#E600AC
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #B299FD

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

Preview Lab → · Contrast checker → · Palette generator →

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