#B236FF#B236FF

#B236FF is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 61.4% C 0.275 H 307.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B236FF
RGBrgb(178, 54, 255)
HSLhsl(277, 100%, 61%)
HSVhsv(277, 79%, 100%)
CMYKcmyk(30.2%, 78.8%, 0%, 0%)
CIE-LABlab(51.06, 78.38, -76.37)
CIE-LCHlch(51.06, 109.44, 315.75°)
OKLaboklab(61.38% 0.1689 -0.2172)
OKLCHoklch(61.38% 0.275 307.9)
XYZxyz(37.7254, 19.3239, 96.3309)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236FF #83FF36
analogous
#4D36FF #B236FF #FF36E7
triadic
#B236FF #FFB236 #36FFB2
tetradic
#B236FF #FF4D36 #83FF36 #36E7FF
square
#B236FF #FF4D36 #83FF36 #36E7FF
split-complementary
#B236FF #E7FF36 #36FF4D
monochromatic
#7300BB #9900F8 #B236FF #C973FF #E1B0FF

Accessibility & contrast

On white

4.32
#B236FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B236FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B236FF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236FF#FFFFFF#000000##000000
##B236FF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#007BFB
Tritanopia (blue-blind)
#A56B9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b236ff;
/* rgb */ color: rgb(178, 54, 255);
/* oklch */ color: oklch(61.4% 0.275 307.9);
Tailwind
colors: {
  custom: {
    50: '#d07cff',
    500: '#b236ff',
    950: '#000000',
  },
}
SCSS
$custom: #b236ff;
$custom-light: #d07cff;
$custom-dark: #000000;
JSON
{
  "hex": "#b236ff",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 255
  },
  "hsl": {
    "h": 277.015,
    "s": 100,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61384,
    "c": 0.27515,
    "h": 307.9
  },
  "luminance": 0.19323
}

Semantic roles & 50–950 ramp

primary
#B236FF
secondary
#BFEFA2
accent
#E60058
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#150B18
muted
#837C86

Preview Lab

Preview with #B236FF

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

Preview Lab → · Contrast checker → · Palette generator →

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