#B95EF2#B95EF2

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

Color values

HEX#B95EF2
RGBrgb(185, 94, 242)
HSLhsl(277, 85%, 66%)
HSVhsv(277, 61%, 95%)
CMYKcmyk(23.6%, 61.2%, 0%, 5.1%)
CIE-LABlab(56.81, 60.95, -59.80)
CIE-LCHlch(56.81, 85.39, 315.55°)
OKLaboklab(65.4% 0.1414 -0.1685)
OKLCHoklch(65.4% 0.22 310)
XYZxyz(40.0342, 24.7313, 86.6518)
Luminance0.2473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95EF2 #97F25E
analogous
#6F5EF2 #B95EF2 #F25EE1
triadic
#B95EF2 #F2B95E #5EF2B9
tetradic
#B95EF2 #F26F5E #97F25E #5EE1F2
square
#B95EF2 #F26F5E #97F25E #5EE1F2
split-complementary
#B95EF2 #E1F25E #5EF26F
monochromatic
#8010C6 #A025ED #B95EF2 #D297F7 #EACFFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B95EF2#FFFFFF#000000##000000
##B95EF21.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)
#1984F7
Deuteranopia (green-blind)
#4C8AEF
Tritanopia (blue-blind)
#B17BA0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b95ef2;
/* rgb */ color: rgb(185, 94, 242);
/* oklch */ color: oklch(65.4% 0.220 310.0);
Tailwind
colors: {
  custom: {
    50: '#d290f7',
    500: '#b95ef2',
    950: '#000000',
  },
}
SCSS
$custom: #b95ef2;
$custom-light: #d290f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b95ef2",
  "rgb": {
    "r": 185,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 276.892,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65396,
    "c": 0.22002,
    "h": 310
  },
  "luminance": 0.2473
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B95EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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