#B299EA#B299EA

#B299EA is a light, moderate violet. Relative luminance 0.382; OKLCH L 73.6% C 0.117 H 297.6°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#B299EA
RGBrgb(178, 153, 234)
HSLhsl(259, 66%, 76%)
HSVhsv(259, 35%, 92%)
CMYKcmyk(23.9%, 34.6%, 0%, 8.2%)
CIE-LABlab(68.16, 25.78, -37.49)
CIE-LCHlch(68.16, 45.50, 304.52°)
OKLaboklab(73.56% 0.0545 -0.104)
OKLCHoklch(73.56% 0.117 297.6)
XYZxyz(44.5992, 38.1876, 82.8472)
Luminance0.3819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B299EA #D1EA99
analogous
#99A8EA #B299EA #DB99EA
triadic
#B299EA #EAB299 #99EAB2
tetradic
#B299EA #EA99A8 #D1EA99 #99EADB
square
#B299EA #EA99A8 #D1EA99 #99EADB
split-complementary
#B299EA #EADB99 #A8EA99
monochromatic
#6533D5 #8C66E0 #B299EA #D8CCF4 #ECE6FA

Accessibility & contrast

On white

2.43
#B299EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#B299EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B299EA
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B299EA#FFFFFF#000000##000000
##B299EA1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A6ED
Deuteranopia (green-blind)
#89A5E8
Tritanopia (blue-blind)
#A7A6B7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b299ea;
/* rgb */ color: rgb(178, 153, 234);
/* oklch */ color: oklch(73.6% 0.117 297.6);
Tailwind
colors: {
  custom: {
    50: '#cab7f1',
    500: '#b299ea',
    950: '#000000',
  },
}
SCSS
$custom: #b299ea;
$custom-light: #cab7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b299ea",
  "rgb": {
    "r": 178,
    "g": 153,
    "b": 234
  },
  "hsl": {
    "h": 258.519,
    "s": 65.854,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73563,
    "c": 0.1174,
    "h": 297.6
  },
  "luminance": 0.38188
}

Semantic roles & 50–950 ramp

primary
#B299EA
secondary
#EAF1DA
accent
#CE1896
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B299EA

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

Preview Lab → · Contrast checker → · Palette generator →

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