#B295FE#B295FE

#B295FE is a light, vivid violet. Relative luminance 0.381; OKLCH L 73.8% C 0.150 H 295.2°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#B295FE
RGBrgb(178, 149, 254)
HSLhsl(257, 98%, 79%)
HSVhsv(257, 41%, 100%)
CMYKcmyk(29.9%, 41.3%, 0%, 0.4%)
CIE-LABlab(68.11, 32.84, -48.50)
CIE-LCHlch(68.11, 58.58, 304.10°)
OKLaboklab(73.82% 0.0639 -0.1359)
OKLCHoklch(73.82% 0.15 295.2)
XYZxyz(46.9925, 38.1150, 98.6278)
Luminance0.3812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B295FE #E1FE95
analogous
#95ADFE #B295FE #E695FE
triadic
#B295FE #FEB295 #95FEB2
tetradic
#B295FE #FE95AD #E1FE95 #95FEE6
square
#B295FE #FE95AD #E1FE95 #95FEE6
split-complementary
#B295FE #FEE695 #ADFE95
monochromatic
#5A1CFD #8658FD #B295FE #DED2FF #E9E1FF

Accessibility & contrast

On white

2.44
#B295FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#B295FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B295FE
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B295FE#FFFFFF#000000##000000
##B295FE1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A7FF
Deuteranopia (green-blind)
#7AA5FB
Tritanopia (blue-blind)
#A1A8BD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b295fe;
/* rgb */ color: rgb(178, 149, 254);
/* oklch */ color: oklch(73.8% 0.150 295.2);
Tailwind
colors: {
  custom: {
    50: '#cbb4ff',
    500: '#b295fe',
    950: '#000000',
  },
}
SCSS
$custom: #b295fe;
$custom-light: #cbb4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b295fe",
  "rgb": {
    "r": 178,
    "g": 149,
    "b": 254
  },
  "hsl": {
    "h": 256.571,
    "s": 98.131,
    "l": 79.02
  },
  "oklch": {
    "l": 0.73815,
    "c": 0.15013,
    "h": 295.2
  },
  "luminance": 0.38116
}

Semantic roles & 50–950 ramp

primary
#B295FE
secondary
#EDF7D4
accent
#E600A6
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B295FE

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

Preview Lab → · Contrast checker → · Palette generator →

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