#B295F0#B295F0

#B295F0 is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.1% C 0.132 H 297.7°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#B295F0
RGBrgb(178, 149, 240)
HSLhsl(259, 75%, 76%)
HSVhsv(259, 38%, 94%)
CMYKcmyk(25.8%, 37.9%, 0%, 5.9%)
CIE-LABlab(67.46, 29.45, -41.86)
CIE-LCHlch(67.46, 51.18, 305.13°)
OKLaboklab(73.12% 0.0613 -0.1166)
OKLCHoklch(73.12% 0.132 297.7)
XYZxyz(44.8321, 37.2508, 87.2494)
Luminance0.3725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B295F0 #D3F095
analogous
#95A6F0 #B295F0 #E095F0
triadic
#B295F0 #F0B295 #95F0B2
tetradic
#B295F0 #F095A6 #D3F095 #95F0E0
square
#B295F0 #F095A6 #D3F095 #95F0E0
split-complementary
#B295F0 #F0E095 #A6F095
monochromatic
#642AE1 #8B5FE8 #B295F0 #D9CBF8 #ECE4FB

Accessibility & contrast

On white

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

On black

8.45
#B295F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B295F0
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B295F0#FFFFFF#000000##000000
##B295F01.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA4F4
Deuteranopia (green-blind)
#82A3EE
Tritanopia (blue-blind)
#A6A4B7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b295f0;
/* rgb */ color: rgb(178, 149, 240);
/* oklch */ color: oklch(73.1% 0.132 297.7);
Tailwind
colors: {
  custom: {
    50: '#cbb4f5',
    500: '#b295f0',
    950: '#000000',
  },
}
SCSS
$custom: #b295f0;
$custom-light: #cbb4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b295f0",
  "rgb": {
    "r": 178,
    "g": 149,
    "b": 240
  },
  "hsl": {
    "h": 259.121,
    "s": 75.207,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7312,
    "c": 0.13173,
    "h": 297.7
  },
  "luminance": 0.37251
}

Semantic roles & 50–950 ramp

primary
#B295F0
secondary
#EAF3D8
accent
#D70E97
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #B295F0

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

Preview Lab → · Contrast checker → · Palette generator →

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