#B283F2#B283F2

#B283F2 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.1% C 0.163 H 301.9°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#B283F2
RGBrgb(178, 131, 242)
HSLhsl(265, 81%, 73%)
HSVhsv(265, 46%, 95%)
CMYKcmyk(26.4%, 45.9%, 0%, 5.1%)
CIE-LABlab(63.43, 39.96, -49.31)
CIE-LCHlch(63.43, 63.47, 309.02°)
OKLaboklab(70.11% 0.086 -0.1382)
OKLCHoklch(70.11% 0.163 301.9)
XYZxyz(42.4998, 32.1083, 87.9457)
Luminance0.3211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B283F2 #C3F283
analogous
#838BF2 #B283F2 #E983F2
triadic
#B283F2 #F2B283 #83F2B2
tetradic
#B283F2 #F2838B #C3F283 #83F2E9
square
#B283F2 #F2838B #C3F283 #83F2E9
split-complementary
#B283F2 #F2E983 #8BF283
monochromatic
#6E18E3 #904CEC #B283F2 #D4BAF8 #EEE3FC

Accessibility & contrast

On white

2.83
#B283F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#B283F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B283F2
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B283F2#FFFFFF#000000##000000
##B283F21.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#6E99EF
Tritanopia (blue-blind)
#A697AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b283f2;
/* rgb */ color: rgb(178, 131, 242);
/* oklch */ color: oklch(70.1% 0.163 301.9);
Tailwind
colors: {
  custom: {
    50: '#cba8f7',
    500: '#b283f2',
    950: '#000000',
  },
}
SCSS
$custom: #b283f2;
$custom-light: #cba8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b283f2",
  "rgb": {
    "r": 178,
    "g": 131,
    "b": 242
  },
  "hsl": {
    "h": 265.405,
    "s": 81.022,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70107,
    "c": 0.16276,
    "h": 301.9
  },
  "luminance": 0.32108
}

Semantic roles & 50–950 ramp

primary
#B283F2
secondary
#E8F4D7
accent
#DD0883
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B283F2

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

Preview Lab → · Contrast checker → · Palette generator →

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