#BF38F2#BF38F2

#BF38F2 is a light, highly saturated purple. Relative luminance 0.203; OKLCH L 62.3% C 0.266 H 314.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BF38F2
RGBrgb(191, 56, 242)
HSLhsl(284, 88%, 58%)
HSVhsv(284, 77%, 95%)
CMYKcmyk(21.1%, 76.9%, 0%, 5.1%)
CIE-LABlab(52.19, 77.37, -67.20)
CIE-LCHlch(52.19, 102.47, 319.02°)
OKLaboklab(62.26% 0.1863 -0.1898)
OKLCHoklch(62.26% 0.266 314.5)
XYZxyz(38.9243, 20.3169, 85.8583)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF38F2 #6BF238
analogous
#6238F2 #BF38F2 #F238C8
triadic
#BF38F2 #F2BF38 #38F2BF
tetradic
#BF38F2 #F26238 #6BF238 #38C8F2
square
#BF38F2 #F26238 #6BF238 #38C8F2
split-complementary
#BF38F2 #C8F238 #38F262
monochromatic
#7B0BA5 #A50FDE #BF38F2 #D171F6 #E4ABFA

Accessibility & contrast

On white

4.15
#BF38F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#BF38F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF38F2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF38F2#FFFFFF#000000##000000
##BF38F21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F7
Deuteranopia (green-blind)
#2A80EE
Tritanopia (blue-blind)
#BA6495
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bf38f2;
/* rgb */ color: rgb(191, 56, 242);
/* oklch */ color: oklch(62.3% 0.266 314.5);
Tailwind
colors: {
  custom: {
    50: '#d77df7',
    500: '#bf38f2',
    950: '#000000',
  },
}
SCSS
$custom: #bf38f2;
$custom-light: #d77df7;
$custom-dark: #000000;
JSON
{
  "hex": "#bf38f2",
  "rgb": {
    "r": 191,
    "g": 56,
    "b": 242
  },
  "hsl": {
    "h": 283.548,
    "s": 87.736,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62261,
    "c": 0.266,
    "h": 314.5
  },
  "luminance": 0.20316
}

Semantic roles & 50–950 ramp

primary
#BF38F2
secondary
#B2E89E
accent
#FE2A64
background
#FDF8FF
surface
#FBEFFF
border
#D4CAD7
text
#150B17
muted
#837C85

Preview Lab

Preview with #BF38F2

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

Preview Lab → · Contrast checker → · Palette generator →

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