#B299EE#B299EE

#B299EE is a light, vivid violet. Relative luminance 0.384; OKLCH L 73.7% C 0.123 H 296.8°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#B299EE
RGBrgb(178, 153, 238)
HSLhsl(258, 71%, 77%)
HSVhsv(258, 36%, 93%)
CMYKcmyk(25.2%, 35.7%, 0%, 6.7%)
CIE-LABlab(68.33, 26.73, -39.41)
CIE-LCHlch(68.33, 47.62, 304.15°)
OKLaboklab(73.75% 0.0554 -0.1095)
OKLCHoklch(73.75% 0.123 296.8)
XYZxyz(45.1804, 38.4201, 85.9079)
Luminance0.3842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B299EE #D5EE99
analogous
#99ABEE #B299EE #DD99EE
triadic
#B299EE #EEB299 #99EEB2
tetradic
#B299EE #EE99AB #D5EE99 #99EEDD
square
#B299EE #EE99AB #D5EE99 #99EEDD
split-complementary
#B299EE #EEDD99 #ABEE99
monochromatic
#6330DD #8A65E5 #B299EE #DACDF7 #EBE5FB

Accessibility & contrast

On white

2.42
#B299EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#B299EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B299EE
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B299EE#FFFFFF#000000##000000
##B299EE1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F1
Deuteranopia (green-blind)
#87A6EC
Tritanopia (blue-blind)
#A6A7B8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b299ee;
/* rgb */ color: rgb(178, 153, 238);
/* oklch */ color: oklch(73.7% 0.123 296.8);
Tailwind
colors: {
  custom: {
    50: '#cab7f4',
    500: '#b299ee',
    950: '#000000',
  },
}
SCSS
$custom: #b299ee;
$custom-light: #cab7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b299ee",
  "rgb": {
    "r": 178,
    "g": 153,
    "b": 238
  },
  "hsl": {
    "h": 257.647,
    "s": 71.429,
    "l": 76.667
  },
  "oklch": {
    "l": 0.73749,
    "c": 0.12275,
    "h": 296.8
  },
  "luminance": 0.3842
}

Semantic roles & 50–950 ramp

primary
#B299EE
secondary
#EBF2D9
accent
#D3129B
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B299EE

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

Preview Lab → · Contrast checker → · Palette generator →

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