#B295FA#B295FA

#B295FA is a light, vivid violet. Relative luminance 0.379; OKLCH L 73.6% C 0.145 H 295.9°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#B295FA
RGBrgb(178, 149, 250)
HSLhsl(257, 91%, 78%)
HSVhsv(257, 40%, 98%)
CMYKcmyk(28.8%, 40.4%, 0%, 2%)
CIE-LABlab(67.92, 31.86, -46.62)
CIE-LCHlch(67.92, 56.47, 304.35°)
OKLaboklab(73.61% 0.0632 -0.1304)
OKLCHoklch(73.61% 0.145 295.9)
XYZxyz(46.3587, 37.8614, 95.2895)
Luminance0.3786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B295FA #DDFA95
analogous
#95AAFA #B295FA #E595FA
triadic
#B295FA #FAB295 #95FAB2
tetradic
#B295FA #FA95AA #DDFA95 #95FAE5
square
#B295FA #FA95AA #DDFA95 #95FAE5
split-complementary
#B295FA #FAE595 #AAFA95
monochromatic
#5D20F4 #885BF7 #B295FA #DCCFFD #EAE2FE

Accessibility & contrast

On white

2.45
#B295FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#B295FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B295FA
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B295FA#FFFFFF#000000##000000
##B295FA1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FE
Deuteranopia (green-blind)
#7DA4F7
Tritanopia (blue-blind)
#A3A7BC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b295fa;
/* rgb */ color: rgb(178, 149, 250);
/* oklch */ color: oklch(73.6% 0.145 295.9);
Tailwind
colors: {
  custom: {
    50: '#cbb4fc',
    500: '#b295fa',
    950: '#000000',
  },
}
SCSS
$custom: #b295fa;
$custom-light: #cbb4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b295fa",
  "rgb": {
    "r": 178,
    "g": 149,
    "b": 250
  },
  "hsl": {
    "h": 257.228,
    "s": 90.991,
    "l": 78.235
  },
  "oklch": {
    "l": 0.73613,
    "c": 0.14489,
    "h": 295.9
  },
  "luminance": 0.37862
}

Semantic roles & 50–950 ramp

primary
#B295FA
secondary
#ECF6D5
accent
#E600A4
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #B295FA

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

Preview Lab → · Contrast checker → · Palette generator →

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