#7231C0#7231C0

#7231C0 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.208 H 299.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7231C0
RGBrgb(114, 49, 192)
HSLhsl(267, 59%, 47%)
HSVhsv(267, 74%, 75%)
CMYKcmyk(40.6%, 74.5%, 0%, 24.7%)
CIE-LABlab(37.08, 55.94, -63.59)
CIE-LCHlch(37.08, 84.69, 311.34°)
OKLaboklab(48.27% 0.1007 -0.1818)
OKLCHoklch(48.27% 0.208 299)
XYZxyz(17.5498, 9.5796, 50.7834)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7231C0 #7FC031
analogous
#3137C0 #7231C0 #BA31C0
triadic
#7231C0 #C07231 #31C072
tetradic
#7231C0 #C03137 #7FC031 #31C0BA
square
#7231C0 #C03137 #7FC031 #31C0BA
split-complementary
#7231C0 #C0BA31 #37C031
monochromatic
#38185E #55258F #7231C0 #9159D5 #B28AE1

Accessibility & contrast

On white

7.20
#7231C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7231C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7231C0
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7231C0#FFFFFF#000000##FFFFFF
##7231C01.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#5F5676
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7231c0;
/* rgb */ color: rgb(114, 49, 192);
/* oklch */ color: oklch(48.3% 0.208 299.0);
Tailwind
colors: {
  custom: {
    50: '#a170d4',
    500: '#7231c0',
    950: '#000000',
  },
}
SCSS
$custom: #7231c0;
$custom-light: #a170d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7231c0",
  "rgb": {
    "r": 114,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 267.273,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48273,
    "c": 0.20777,
    "h": 299
  },
  "luminance": 0.0958
}

Semantic roles & 50–950 ramp

primary
#7231C0
secondary
#AACB82
accent
#E3459B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7231C0

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

Preview Lab → · Contrast checker → · Palette generator →

#7231C0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva