#B15DF2#B15DF2

#B15DF2 is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.4% C 0.219 H 307.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B15DF2
RGBrgb(177, 93, 242)
HSLhsl(274, 85%, 66%)
HSVhsv(274, 62%, 95%)
CMYKcmyk(26.9%, 61.6%, 0%, 5.1%)
CIE-LABlab(55.67, 59.64, -61.68)
CIE-LCHlch(55.67, 85.80, 314.03°)
OKLaboklab(64.36% 0.1327 -0.1743)
OKLCHoklch(64.36% 0.219 307.3)
XYZxyz(38.0695, 23.5871, 86.5344)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15DF2 #9EF25D
analogous
#665DF2 #B15DF2 #F25DE8
triadic
#B15DF2 #F2B15D #5DF2B1
tetradic
#B15DF2 #F2665D #9EF25D #5DE8F2
square
#B15DF2 #F2665D #9EF25D #5DE8F2
split-complementary
#B15DF2 #E8F25D #5DF266
monochromatic
#7610C5 #9624ED #B15DF2 #CC96F7 #E8CEFB

Accessibility & contrast

On white

3.67
#B15DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#B15DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15DF2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15DF2#FFFFFF#000000##000000
##B15DF21.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0182F7
Deuteranopia (green-blind)
#4186EF
Tritanopia (blue-blind)
#A77B9F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b15df2;
/* rgb */ color: rgb(177, 93, 242);
/* oklch */ color: oklch(64.4% 0.219 307.3);
Tailwind
colors: {
  custom: {
    50: '#cc8ff7',
    500: '#b15df2',
    950: '#000000',
  },
}
SCSS
$custom: #b15df2;
$custom-light: #cc8ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#b15df2",
  "rgb": {
    "r": 177,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 273.826,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6436,
    "c": 0.21903,
    "h": 307.3
  },
  "luminance": 0.23587
}

Semantic roles & 50–950 ramp

primary
#B15DF2
secondary
#D2EEBD
accent
#E20465
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B15DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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