#B15CEF#B15CEF

#B15CEF is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.0% C 0.217 H 308.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B15CEF
RGBrgb(177, 92, 239)
HSLhsl(275, 82%, 65%)
HSVhsv(275, 62%, 94%)
CMYKcmyk(25.9%, 61.5%, 0%, 6.3%)
CIE-LABlab(55.31, 59.45, -60.59)
CIE-LCHlch(55.31, 84.89, 314.46°)
OKLaboklab(64.04% 0.1339 -0.1711)
OKLCHoklch(64.04% 0.217 308.1)
XYZxyz(37.5354, 23.2339, 84.1518)
Luminance0.2323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15CEF #9AEF5C
analogous
#685CEF #B15CEF #EF5CE3
triadic
#B15CEF #EFB15C #5CEFB1
tetradic
#B15CEF #EF685C #9AEF5C #5CE3EF
square
#B15CEF #EF685C #9AEF5C #5CE3EF
split-complementary
#B15CEF #E3EF5C #5CEF68
monochromatic
#7613BE #9624EA #B15CEF #CC94F4 #E6CBFA

Accessibility & contrast

On white

3.72
#B15CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#B15CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15CEF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15CEF#FFFFFF#000000##000000
##B15CEF1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0981F4
Deuteranopia (green-blind)
#4385EC
Tritanopia (blue-blind)
#A8799D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b15cef;
/* rgb */ color: rgb(177, 92, 239);
/* oklch */ color: oklch(64.0% 0.217 308.1);
Tailwind
colors: {
  custom: {
    50: '#cc8ef5',
    500: '#b15cef',
    950: '#000000',
  },
}
SCSS
$custom: #b15cef;
$custom-light: #cc8ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#b15cef",
  "rgb": {
    "r": 177,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 274.694,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64041,
    "c": 0.21726,
    "h": 308.1
  },
  "luminance": 0.23233
}

Semantic roles & 50–950 ramp

primary
#B15CEF
secondary
#CFECBA
accent
#DF0762
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B15CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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