#B295EA#B295EA

#B295EA is a light, vivid violet. Relative luminance 0.369; OKLCH L 72.8% C 0.124 H 299.0°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#B295EA
RGBrgb(178, 149, 234)
HSLhsl(260, 67%, 75%)
HSVhsv(260, 36%, 92%)
CMYKcmyk(23.9%, 36.3%, 0%, 8.2%)
CIE-LABlab(67.20, 28.03, -38.98)
CIE-LCHlch(67.20, 48.01, 305.72°)
OKLaboklab(72.83% 0.06 -0.1083)
OKLCHoklch(72.83% 0.124 299)
XYZxyz(43.9555, 36.9001, 82.6327)
Luminance0.3690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B295EA #CDEA95
analogous
#95A2EA #B295EA #DD95EA
triadic
#B295EA #EAB295 #95EAB2
tetradic
#B295EA #EA95A2 #CDEA95 #95EADD
square
#B295EA #EA95A2 #CDEA95 #95EADD
split-complementary
#B295EA #EADD95 #A2EA95
monochromatic
#682FD6 #8D62E0 #B295EA #D7C8F4 #ECE5FA

Accessibility & contrast

On white

2.51
#B295EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#B295EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B295EA
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B295EA#FFFFFF#000000##000000
##B295EA1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A4ED
Deuteranopia (green-blind)
#85A3E8
Tritanopia (blue-blind)
#A7A3B5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b295ea;
/* rgb */ color: rgb(178, 149, 234);
/* oklch */ color: oklch(72.8% 0.124 299.0);
Tailwind
colors: {
  custom: {
    50: '#cab4f1',
    500: '#b295ea',
    950: '#000000',
  },
}
SCSS
$custom: #b295ea;
$custom-light: #cab4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b295ea",
  "rgb": {
    "r": 178,
    "g": 149,
    "b": 234
  },
  "hsl": {
    "h": 260.471,
    "s": 66.929,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72834,
    "c": 0.12381,
    "h": 299
  },
  "luminance": 0.369
}

Semantic roles & 50–950 ramp

primary
#B295EA
secondary
#E9F1DA
accent
#CF1790
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B295EA

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

Preview Lab → · Contrast checker → · Palette generator →

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