#B239FD#B239FD

#B239FD is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 61.5% C 0.271 H 308.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B239FD
RGBrgb(178, 57, 253)
HSLhsl(277, 98%, 61%)
HSVhsv(277, 77%, 99%)
CMYKcmyk(29.6%, 77.5%, 0%, 0.8%)
CIE-LABlab(51.25, 77.02, -74.96)
CIE-LCHlch(51.25, 107.47, 315.78°)
OKLaboklab(61.47% 0.1672 -0.2131)
OKLCHoklch(61.47% 0.271 308.1)
XYZxyz(37.5491, 19.4837, 94.6921)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B239FD #84FD39
analogous
#5039FD #B239FD #FD39E6
triadic
#B239FD #FDB239 #39FDB2
tetradic
#B239FD #FD5039 #84FD39 #39E6FD
square
#B239FD #FD5039 #84FD39 #39E6FD
split-complementary
#B239FD #E6FD39 #39FD50
monochromatic
#7302BA #9902F6 #B239FD #CA76FE #E1B2FE

Accessibility & contrast

On white

4.29
#B239FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B239FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B239FD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B239FD#FFFFFF#000000##000000
##B239FD1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#007BF9
Tritanopia (blue-blind)
#A66B9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b239fd;
/* rgb */ color: rgb(178, 57, 253);
/* oklch */ color: oklch(61.5% 0.271 308.1);
Tailwind
colors: {
  custom: {
    50: '#cf7dff',
    500: '#b239fd',
    950: '#000000',
  },
}
SCSS
$custom: #b239fd;
$custom-light: #cf7dff;
$custom-dark: #000000;
JSON
{
  "hex": "#b239fd",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 253
  },
  "hsl": {
    "h": 277.041,
    "s": 98,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61467,
    "c": 0.27083,
    "h": 308.1
  },
  "luminance": 0.19483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B239FD

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

Preview Lab → · Contrast checker → · Palette generator →

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