#B283FE#B283FE

#B283FE is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.8% C 0.178 H 299.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#B283FE
RGBrgb(178, 131, 254)
HSLhsl(263, 98%, 75%)
HSVhsv(263, 48%, 100%)
CMYKcmyk(29.9%, 48.4%, 0%, 0.4%)
CIE-LABlab(64.04, 42.84, -54.93)
CIE-LCHlch(64.04, 69.66, 307.95°)
OKLaboklab(70.76% 0.0874 -0.1546)
OKLCHoklch(70.76% 0.178 299.5)
XYZxyz(44.3616, 32.8530, 97.7508)
Luminance0.3285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B283FE #CFFE83
analogous
#8391FE #B283FE #F083FE
triadic
#B283FE #FEB283 #83FEB2
tetradic
#B283FE #FE8391 #CFFE83 #83FEF0
square
#B283FE #FE8391 #CFFE83 #83FEF0
split-complementary
#B283FE #FEF083 #91FE83
monochromatic
#670AFD #8C46FE #B283FE #D8C0FE #ECE1FF

Accessibility & contrast

On white

2.77
#B283FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#B283FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B283FE
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B283FE#FFFFFF#000000##000000
##B283FE1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#669AFB
Tritanopia (blue-blind)
#A39AB5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b283fe;
/* rgb */ color: rgb(178, 131, 254);
/* oklch */ color: oklch(70.8% 0.178 299.5);
Tailwind
colors: {
  custom: {
    50: '#cca8ff',
    500: '#b283fe',
    950: '#000000',
  },
}
SCSS
$custom: #b283fe;
$custom-light: #cca8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b283fe",
  "rgb": {
    "r": 178,
    "g": 131,
    "b": 254
  },
  "hsl": {
    "h": 262.927,
    "s": 98.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70761,
    "c": 0.17759,
    "h": 299.5
  },
  "luminance": 0.32853
}

Semantic roles & 50–950 ramp

primary
#B283FE
secondary
#EAF7D4
accent
#E6008E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B283FE

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

Preview Lab → · Contrast checker → · Palette generator →

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