#B244F2#B244F2

#B244F2 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.6% C 0.250 H 309.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B244F2
RGBrgb(178, 68, 242)
HSLhsl(278, 87%, 61%)
HSVhsv(278, 72%, 95%)
CMYKcmyk(26.4%, 71.9%, 0%, 5.1%)
CIE-LABlab(51.85, 70.81, -67.84)
CIE-LCHlch(51.85, 98.07, 316.23°)
OKLaboklab(61.65% 0.16 -0.1922)
OKLCHoklch(61.65% 0.25 309.8)
XYZxyz(36.4511, 20.0108, 85.9294)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B244F2 #84F244
analogous
#5B44F2 #B244F2 #F244DB
triadic
#B244F2 #F2B244 #44F2B2
tetradic
#B244F2 #F25B44 #84F244 #44DBF2
square
#B244F2 #F25B44 #84F244 #44DBF2
split-complementary
#B244F2 #DBF244 #44F25B
monochromatic
#730CAF #9910E9 #B244F2 #CA7DF6 #E1B6FA

Accessibility & contrast

On white

4.20
#B244F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B244F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B244F2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B244F2#FFFFFF#000000##000000
##B244F21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F7
Deuteranopia (green-blind)
#1B7DEE
Tritanopia (blue-blind)
#A96C98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b244f2;
/* rgb */ color: rgb(178, 68, 242);
/* oklch */ color: oklch(61.6% 0.250 309.8);
Tailwind
colors: {
  custom: {
    50: '#ce81f7',
    500: '#b244f2',
    950: '#000000',
  },
}
SCSS
$custom: #b244f2;
$custom-light: #ce81f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b244f2",
  "rgb": {
    "r": 178,
    "g": 68,
    "b": 242
  },
  "hsl": {
    "h": 277.931,
    "s": 87,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61647,
    "c": 0.25012,
    "h": 309.8
  },
  "luminance": 0.2001
}

Semantic roles & 50–950 ramp

primary
#B244F2
secondary
#C0EAA8
accent
#E40255
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#140B17
muted
#837C85

Preview Lab

Preview with #B244F2

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

Preview Lab → · Contrast checker → · Palette generator →

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