#B15CF2#B15CF2

#B15CF2 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.2% C 0.220 H 307.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B15CF2
RGBrgb(177, 92, 242)
HSLhsl(274, 85%, 65%)
HSVhsv(274, 62%, 95%)
CMYKcmyk(26.9%, 62%, 0%, 5.1%)
CIE-LABlab(55.49, 60.12, -61.97)
CIE-LCHlch(55.49, 86.34, 314.13°)
OKLaboklab(64.23% 0.1338 -0.1751)
OKLCHoklch(64.23% 0.22 307.4)
XYZxyz(37.9823, 23.4127, 86.5054)
Luminance0.2341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15CF2 #9DF25C
analogous
#665CF2 #B15CF2 #F25CE8
triadic
#B15CF2 #F2B15C #5CF2B1
tetradic
#B15CF2 #F2665C #9DF25C #5CE8F2
square
#B15CF2 #F2665C #9DF25C #5CE8F2
split-complementary
#B15CF2 #E8F25C #5CF266
monochromatic
#7610C4 #9623ED #B15CF2 #CC95F7 #E7CDFB

Accessibility & contrast

On white

3.70
#B15CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#B15CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15CF2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15CF2#FFFFFF#000000##000000
##B15CF21.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#4086EF
Tritanopia (blue-blind)
#A77A9F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b15cf2;
/* rgb */ color: rgb(177, 92, 242);
/* oklch */ color: oklch(64.2% 0.220 307.4);
Tailwind
colors: {
  custom: {
    50: '#cc8ff7',
    500: '#b15cf2',
    950: '#000000',
  },
}
SCSS
$custom: #b15cf2;
$custom-light: #cc8ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#b15cf2",
  "rgb": {
    "r": 177,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 274,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64232,
    "c": 0.22039,
    "h": 307.4
  },
  "luminance": 0.23412
}

Semantic roles & 50–950 ramp

primary
#B15CF2
secondary
#D2EEBC
accent
#E20464
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B15CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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