#B295EF#B295EF

#B295EF is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.1% C 0.130 H 297.9°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#B295EF
RGBrgb(178, 149, 239)
HSLhsl(259, 74%, 76%)
HSVhsv(259, 38%, 94%)
CMYKcmyk(25.5%, 37.7%, 0%, 6.3%)
CIE-LABlab(67.42, 29.21, -41.38)
CIE-LCHlch(67.42, 50.65, 305.22°)
OKLaboklab(73.07% 0.0611 -0.1152)
OKLCHoklch(73.07% 0.13 297.9)
XYZxyz(44.6839, 37.1915, 86.4692)
Luminance0.3719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B295EF #D2EF95
analogous
#95A5EF #B295EF #DF95EF
triadic
#B295EF #EFB295 #95EFB2
tetradic
#B295EF #EF95A5 #D2EF95 #95EFDF
square
#B295EF #EF95A5 #D2EF95 #95EFDF
split-complementary
#B295EF #EFDF95 #A5EF95
monochromatic
#652BDF #8B60E7 #B295EF #D9CAF7 #ECE4FB

Accessibility & contrast

On white

2.49
#B295EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#B295EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B295EF
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B295EF#FFFFFF#000000##000000
##B295EF1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA4F2
Deuteranopia (green-blind)
#83A3ED
Tritanopia (blue-blind)
#A6A4B7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b295ef;
/* rgb */ color: rgb(178, 149, 239);
/* oklch */ color: oklch(73.1% 0.130 297.9);
Tailwind
colors: {
  custom: {
    50: '#cab4f4',
    500: '#b295ef',
    950: '#000000',
  },
}
SCSS
$custom: #b295ef;
$custom-light: #cab4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b295ef",
  "rgb": {
    "r": 178,
    "g": 149,
    "b": 239
  },
  "hsl": {
    "h": 259.333,
    "s": 73.77,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73072,
    "c": 0.13041,
    "h": 297.9
  },
  "luminance": 0.37192
}

Semantic roles & 50–950 ramp

primary
#B295EF
secondary
#EAF3D8
accent
#D61096
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B295EF

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

Preview Lab → · Contrast checker → · Palette generator →

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