#B995F8#B995F8

#B995F8 is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.1% C 0.143 H 299.7°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#B995F8
RGBrgb(185, 149, 248)
HSLhsl(262, 88%, 78%)
HSVhsv(262, 40%, 97%)
CMYKcmyk(25.4%, 39.9%, 0%, 2.7%)
CIE-LABlab(68.45, 33.32, -44.65)
CIE-LCHlch(68.45, 55.71, 306.73°)
OKLaboklab(74.13% 0.0709 -0.1245)
OKLCHoklch(74.13% 0.143 299.7)
XYZxyz(47.6945, 38.5862, 93.7239)
Luminance0.3859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B995F8 #D4F895
analogous
#95A2F8 #B995F8 #EA95F8
triadic
#B995F8 #F8B995 #95F8B9
tetradic
#B995F8 #F895A2 #D4F895 #95F8EA
square
#B995F8 #F895A2 #D4F895 #95F8EA
split-complementary
#B995F8 #F8EA95 #A2F895
monochromatic
#6D22F0 #935CF4 #B995F8 #DFCEFC #ECE2FD

Accessibility & contrast

On white

2.41
#B995F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#B995F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B995F8
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B995F8#FFFFFF#000000##000000
##B995F81.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FC
Deuteranopia (green-blind)
#82A6F5
Tritanopia (blue-blind)
#ADA6BB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b995f8;
/* rgb */ color: rgb(185, 149, 248);
/* oklch */ color: oklch(74.1% 0.143 299.7);
Tailwind
colors: {
  custom: {
    50: '#d0b4fb',
    500: '#b995f8',
    950: '#000000',
  },
}
SCSS
$custom: #b995f8;
$custom-light: #d0b4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b995f8",
  "rgb": {
    "r": 185,
    "g": 149,
    "b": 248
  },
  "hsl": {
    "h": 261.818,
    "s": 87.611,
    "l": 77.843
  },
  "oklch": {
    "l": 0.74134,
    "c": 0.1433,
    "h": 299.7
  },
  "luminance": 0.38586
}

Semantic roles & 50–950 ramp

primary
#B995F8
secondary
#EAF5D6
accent
#E40192
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B995F8

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

Preview Lab → · Contrast checker → · Palette generator →

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