#B95DF2#B95DF2

#B95DF2 is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.3% C 0.221 H 310.1°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B95DF2
RGBrgb(185, 93, 242)
HSLhsl(277, 85%, 66%)
HSVhsv(277, 62%, 95%)
CMYKcmyk(23.6%, 61.6%, 0%, 5.1%)
CIE-LABlab(56.64, 61.43, -60.08)
CIE-LCHlch(56.64, 85.92, 315.64°)
OKLaboklab(65.27% 0.1426 -0.1693)
OKLCHoklch(65.27% 0.221 310.1)
XYZxyz(39.9459, 24.5546, 86.6224)
Luminance0.2455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95DF2 #96F25D
analogous
#6E5DF2 #B95DF2 #F25DE0
triadic
#B95DF2 #F2B95D #5DF2B9
tetradic
#B95DF2 #F26E5D #96F25D #5DE0F2
square
#B95DF2 #F26E5D #96F25D #5DE0F2
split-complementary
#B95DF2 #E0F25D #5DF26E
monochromatic
#8010C5 #A124ED #B95DF2 #D196F7 #EACEFB

Accessibility & contrast

On white

3.55
#B95DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#B95DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95DF2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95DF2#FFFFFF#000000##000000
##B95DF21.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1484F7
Deuteranopia (green-blind)
#4B89EF
Tritanopia (blue-blind)
#B17A9F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b95df2;
/* rgb */ color: rgb(185, 93, 242);
/* oklch */ color: oklch(65.3% 0.221 310.1);
Tailwind
colors: {
  custom: {
    50: '#d290f7',
    500: '#b95df2',
    950: '#000000',
  },
}
SCSS
$custom: #b95df2;
$custom-light: #d290f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b95df2",
  "rgb": {
    "r": 185,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 277.047,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6527,
    "c": 0.22138,
    "h": 310.1
  },
  "luminance": 0.24554
}

Semantic roles & 50–950 ramp

primary
#B95DF2
secondary
#D0EEBD
accent
#E20459
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B95DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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