#7823BB#7823BB

#7823BB is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.3% C 0.217 H 304.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7823BB
RGBrgb(120, 35, 187)
HSLhsl(274, 68%, 44%)
HSVhsv(274, 81%, 73%)
CMYKcmyk(35.8%, 81.3%, 0%, 26.7%)
CIE-LABlab(35.56, 61.18, -63.09)
CIE-LCHlch(35.56, 87.88, 314.12°)
OKLaboklab(47.26% 0.1219 -0.18)
OKLCHoklch(47.26% 0.217 304.1)
XYZxyz(17.3143, 8.7830, 47.7872)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7823BB #66BB23
analogous
#2C23BB #7823BB #BB23B2
triadic
#7823BB #BB7823 #23BB78
tetradic
#7823BB #BB2C23 #66BB23 #23B2BB
square
#7823BB #BB2C23 #66BB23 #23B2BB
split-complementary
#7823BB #B2BB23 #23BB2C
monochromatic
#361054 #571987 #7823BB #9740DB #B374E5

Accessibility & contrast

On white

7.62
#7823BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7823BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7823BB
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7823BB#FFFFFF#000000##FFFFFF
##7823BB1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#6B4D70
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7823bb;
/* rgb */ color: rgb(120, 35, 187);
/* oklch */ color: oklch(47.3% 0.217 304.1);
Tailwind
colors: {
  custom: {
    50: '#a569d1',
    500: '#7823bb',
    950: '#000000',
  },
}
SCSS
$custom: #7823bb;
$custom-light: #a569d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7823bb",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 187
  },
  "hsl": {
    "h": 273.553,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47256,
    "c": 0.21737,
    "h": 304.1
  },
  "luminance": 0.08783
}

Semantic roles & 50–950 ramp

primary
#7823BB
secondary
#97CC6E
accent
#EB3C8A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7823BB

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

Preview Lab → · Contrast checker → · Palette generator →

#7823BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva