#B631C8#B631C8

#B631C8 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.7% C 0.235 H 322.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B631C8
RGBrgb(182, 49, 200)
HSLhsl(293, 61%, 49%)
HSVhsv(293, 76%, 78%)
CMYKcmyk(9%, 75.5%, 0%, 21.6%)
CIE-LABlab(47.38, 70.28, -51.11)
CIE-LCHlch(47.38, 86.90, 323.97°)
OKLaboklab(57.74% 0.1869 -0.1429)
OKLCHoklch(57.74% 0.235 322.6)
XYZxyz(30.8140, 16.3137, 56.1582)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B631C8 #43C831
analogous
#6B31C8 #B631C8 #C8318F
triadic
#B631C8 #C8B631 #31C8B6
tetradic
#B631C8 #C86B31 #43C831 #318FC8
square
#B631C8 #C86B31 #43C831 #318FC8
split-complementary
#B631C8 #8FC831 #31C86B
monochromatic
#5D1966 #892597 #B631C8 #C95FD8 #DA90E4

Accessibility & contrast

On white

4.93
#B631C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B631C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B631C8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B631C8#FFFFFF#000000##FFFFFF
##B631C81.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#4975C5
Tritanopia (blue-blind)
#B84E7B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b631c8;
/* rgb */ color: rgb(182, 49, 200);
/* oklch */ color: oklch(57.7% 0.235 322.6);
Tailwind
colors: {
  custom: {
    50: '#d078d9',
    500: '#b631c8',
    950: '#000000',
  },
}
SCSS
$custom: #b631c8;
$custom-light: #d078d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b631c8",
  "rgb": {
    "r": 182,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 292.848,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57737,
    "c": 0.23525,
    "h": 322.6
  },
  "luminance": 0.16312
}

Semantic roles & 50–950 ramp

primary
#B631C8
secondary
#8FCE86
accent
#E44457
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B631C8

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

Preview Lab → · Contrast checker → · Palette generator →

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