#B299ED#B299ED

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

Color values

HEX#B299ED
RGBrgb(178, 153, 237)
HSLhsl(258, 70%, 76%)
HSVhsv(258, 35%, 93%)
CMYKcmyk(24.9%, 35.4%, 0%, 7.1%)
CIE-LABlab(68.29, 26.49, -38.93)
CIE-LCHlch(68.29, 47.09, 304.23°)
OKLaboklab(73.7% 0.0552 -0.1082)
OKLCHoklch(73.7% 0.121 297)
XYZxyz(45.0338, 38.3615, 85.1363)
Luminance0.3836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B299ED #D4ED99
analogous
#99AAED #B299ED #DC99ED
triadic
#B299ED #EDB299 #99EDB2
tetradic
#B299ED #ED99AA #D4ED99 #99EDDC
square
#B299ED #ED99AA #D4ED99 #99EDDC
split-complementary
#B299ED #EDDC99 #AAED99
monochromatic
#6331DB #8B65E4 #B299ED #D9CDF6 #EBE5FA

Accessibility & contrast

On white

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

On black

8.67
#B299ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B299ED
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B299ED#FFFFFF#000000##000000
##B299ED1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A7F0
Deuteranopia (green-blind)
#88A6EB
Tritanopia (blue-blind)
#A6A7B8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b299ed;
/* rgb */ color: rgb(178, 153, 237);
/* oklch */ color: oklch(73.7% 0.121 297.0);
Tailwind
colors: {
  custom: {
    50: '#cab7f3',
    500: '#b299ed',
    950: '#000000',
  },
}
SCSS
$custom: #b299ed;
$custom-light: #cab7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b299ed",
  "rgb": {
    "r": 178,
    "g": 153,
    "b": 237
  },
  "hsl": {
    "h": 257.857,
    "s": 70,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73702,
    "c": 0.12142,
    "h": 297
  },
  "luminance": 0.38362
}

Semantic roles & 50–950 ramp

primary
#B299ED
secondary
#EBF2D9
accent
#D21499
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B299ED

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

Preview Lab → · Contrast checker → · Palette generator →

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