#B370CD#B370CD

#B370CD is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.2% C 0.150 H 316.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B370CD
RGBrgb(179, 112, 205)
HSLhsl(283, 48%, 62%)
HSVhsv(283, 45%, 80%)
CMYKcmyk(12.7%, 45.4%, 0%, 19.6%)
CIE-LABlab(57.64, 42.35, -37.75)
CIE-LCHlch(57.64, 56.73, 318.29°)
OKLaboklab(65.22% 0.1082 -0.1046)
OKLCHoklch(65.22% 0.15 316)
XYZxyz(35.4024, 25.5808, 60.8184)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B370CD #8ACD70
analogous
#8570CD #B370CD #CD70B9
triadic
#B370CD #CDB370 #70CDB3
tetradic
#B370CD #CD8570 #8ACD70 #70B9CD
square
#B370CD #CD8570 #8ACD70 #70B9CD
split-complementary
#B370CD #B9CD70 #70CD85
monochromatic
#763290 #9B43BD #B370CD #CB9DDD #E3CBED

Accessibility & contrast

On white

3.43
#B370CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#B370CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B370CD
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B370CD#FFFFFF#000000##000000
##B370CD1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86D0
Deuteranopia (green-blind)
#718CCA
Tritanopia (blue-blind)
#B27D95
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b370cd;
/* rgb */ color: rgb(179, 112, 205);
/* oklch */ color: oklch(65.2% 0.150 316.0);
Tailwind
colors: {
  custom: {
    50: '#cb9bdc',
    500: '#b370cd',
    950: '#000000',
  },
}
SCSS
$custom: #b370cd;
$custom-light: #cb9bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b370cd",
  "rgb": {
    "r": 179,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 283.226,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65218,
    "c": 0.15046,
    "h": 316
  },
  "luminance": 0.2558
}

Semantic roles & 50–950 ramp

primary
#B370CD
secondary
#C5DDBB
accent
#BB2A53
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B370CD

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

Preview Lab → · Contrast checker → · Palette generator →

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