#B64FB7#B64FB7

#B64FB7 is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.8% C 0.184 H 327.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B64FB7
RGBrgb(182, 79, 183)
HSLhsl(299, 42%, 51%)
HSVhsv(299, 57%, 72%)
CMYKcmyk(0.5%, 56.8%, 0%, 28.2%)
CIE-LABlab(50.64, 55.58, -36.08)
CIE-LCHlch(50.64, 66.27, 327.01°)
OKLaboklab(59.79% 0.1543 -0.0994)
OKLCHoklch(59.79% 0.184 327.2)
XYZxyz(30.6341, 18.9578, 46.8362)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64FB7 #50B74F
analogous
#824FB7 #B64FB7 #B74F84
triadic
#B64FB7 #B7B64F #4FB7B6
tetradic
#B64FB7 #B7824F #50B74F #4F84B7
square
#B64FB7 #B7824F #50B74F #4F84B7
split-complementary
#B64FB7 #84B74F #4FB782
monochromatic
#632963 #8E3A8F #B64FB7 #C87AC9 #DAA6DB

Accessibility & contrast

On white

4.38
#B64FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B64FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B64FB7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64FB7#FFFFFF#000000##000000
##B64FB71.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4370BA
Deuteranopia (green-blind)
#657DB4
Tritanopia (blue-blind)
#BB5C7C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b64fb7;
/* rgb */ color: rgb(182, 79, 183);
/* oklch */ color: oklch(59.8% 0.184 327.2);
Tailwind
colors: {
  custom: {
    50: '#cf86cd',
    500: '#b64fb7',
    950: '#000000',
  },
}
SCSS
$custom: #b64fb7;
$custom-light: #cf86cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b64fb7",
  "rgb": {
    "r": 182,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 299.423,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59785,
    "c": 0.18355,
    "h": 327.2
  },
  "luminance": 0.18956
}

Semantic roles & 50–950 ramp

primary
#B64FB7
secondary
#9AC89A
accent
#D25657
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C13
muted
#837D82

Preview Lab

Preview with #B64FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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