#B95FEF#B95FEF

#B95FEF is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.3% C 0.216 H 310.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B95FEF
RGBrgb(185, 95, 239)
HSLhsl(278, 82%, 65%)
HSVhsv(278, 60%, 94%)
CMYKcmyk(22.6%, 60.3%, 0%, 6.3%)
CIE-LABlab(56.81, 59.83, -58.13)
CIE-LCHlch(56.81, 83.42, 315.83°)
OKLaboklab(65.34% 0.1403 -0.1636)
OKLCHoklch(65.34% 0.216 310.6)
XYZxyz(39.6768, 24.7315, 84.3281)
Luminance0.2473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95FEF #95EF5F
analogous
#715FEF #B95FEF #EF5FDD
triadic
#B95FEF #EFB95F #5FEFB9
tetradic
#B95FEF #EF715F #95EF5F #5FDDEF
square
#B95FEF #EF715F #95EF5F #5FDDEF
split-complementary
#B95FEF #DDEF5F #5FEF71
monochromatic
#7F13C0 #A127E9 #B95FEF #D197F5 #EACEFA

Accessibility & contrast

On white

3.53
#B95FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#B95FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95FEF
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95FEF#FFFFFF#000000##000000
##B95FEF1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2484F4
Deuteranopia (green-blind)
#508AEC
Tritanopia (blue-blind)
#B27A9E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b95fef;
/* rgb */ color: rgb(185, 95, 239);
/* oklch */ color: oklch(65.3% 0.216 310.6);
Tailwind
colors: {
  custom: {
    50: '#d291f5',
    500: '#b95fef',
    950: '#000000',
  },
}
SCSS
$custom: #b95fef;
$custom-light: #d291f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b95fef",
  "rgb": {
    "r": 185,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 277.5,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6534,
    "c": 0.21556,
    "h": 310.6
  },
  "luminance": 0.24731
}

Semantic roles & 50–950 ramp

primary
#B95FEF
secondary
#CFEDBD
accent
#DE0758
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B95FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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