#B299FA#B299FA

#B299FA is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.3% C 0.139 H 294.6°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#B299FA
RGBrgb(178, 153, 250)
HSLhsl(255, 91%, 79%)
HSVhsv(255, 39%, 98%)
CMYKcmyk(28.8%, 38.8%, 0%, 2%)
CIE-LABlab(68.86, 29.62, -45.14)
CIE-LCHlch(68.86, 53.99, 303.28°)
OKLaboklab(74.33% 0.0579 -0.1261)
OKLCHoklch(74.33% 0.139 294.6)
XYZxyz(47.0024, 39.1489, 95.5041)
Luminance0.3915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B299FA #E1FA99
analogous
#99B1FA #B299FA #E399FA
triadic
#B299FA #FAB299 #99FAB2
tetradic
#B299FA #FA99B1 #E1FA99 #99FAE3
square
#B299FA #FA99B1 #E1FA99 #99FAE3
split-complementary
#B299FA #FAE399 #B1FA99
monochromatic
#5A24F4 #865FF7 #B299FA #DED3FD #E9E2FE

Accessibility & contrast

On white

2.38
#B299FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#B299FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B299FA
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B299FA#FFFFFF#000000##000000
##B299FA1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b299fa;
/* rgb */ color: rgb(178, 153, 250);
/* oklch */ color: oklch(74.3% 0.139 294.6);
Tailwind
colors: {
  custom: {
    50: '#cbb7fc',
    500: '#b299fa',
    950: '#000000',
  },
}
SCSS
$custom: #b299fa;
$custom-light: #cbb7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b299fa",
  "rgb": {
    "r": 178,
    "g": 153,
    "b": 250
  },
  "hsl": {
    "h": 255.464,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.74326,
    "c": 0.13874,
    "h": 294.6
  },
  "luminance": 0.3915
}

Semantic roles & 50–950 ramp

primary
#B299FA
secondary
#EDF6D5
accent
#E600AA
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #B299FA

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

Preview Lab → · Contrast checker → · Palette generator →

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