#B245DF#B245DF

#B245DF is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.5% C 0.232 H 314.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B245DF
RGBrgb(178, 69, 223)
HSLhsl(282, 71%, 57%)
HSVhsv(282, 69%, 87%)
CMYKcmyk(20.2%, 69.1%, 0%, 12.5%)
CIE-LABlab(50.75, 66.56, -58.92)
CIE-LCHlch(50.75, 88.89, 318.49°)
OKLaboklab(60.47% 0.1614 -0.166)
OKLCHoklch(60.47% 0.232 314.2)
XYZxyz(33.8053, 19.0501, 71.6940)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245DF #72DF45
analogous
#6545DF #B245DF #DF45BF
triadic
#B245DF #DFB245 #45DFB2
tetradic
#B245DF #DF6545 #72DF45 #45BFDF
square
#B245DF #DF6545 #72DF45 #45BFDF
split-complementary
#B245DF #BFDF45 #45DF65
monochromatic
#6E1991 #9522C5 #B245DF #C879E8 #DDADF1

Accessibility & contrast

On white

4.37
#B245DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#B245DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B245DF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245DF#FFFFFF#000000##000000
##B245DF1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#3D7BDC
Tritanopia (blue-blind)
#AE658D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b245df;
/* rgb */ color: rgb(178, 69, 223);
/* oklch */ color: oklch(60.5% 0.232 314.2);
Tailwind
colors: {
  custom: {
    50: '#cd81ea',
    500: '#b245df',
    950: '#000000',
  },
}
SCSS
$custom: #b245df;
$custom-light: #cd81ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b245df",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 282.468,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60467,
    "c": 0.23152,
    "h": 314.2
  },
  "luminance": 0.19049
}

Semantic roles & 50–950 ramp

primary
#B245DF
secondary
#B3DFA1
accent
#ED3A6F
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B245DF

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

Preview Lab → · Contrast checker → · Palette generator →

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